rroonga 5.0.4-x64-mingw32 → 5.0.5-x64-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 +8 -8
- data/README.md +2 -2
- data/example/measure-data-column-disk-usage.rb +124 -0
- data/example/measure-index-column-disk-usage.rb +81 -0
- data/example/measure-table-disk-usage.rb +100 -0
- data/ext/groonga/rb-grn-database.c +31 -0
- data/ext/groonga/rb-grn-double-array-trie.c +1 -8
- data/ext/groonga/rb-grn-logger.c +45 -0
- data/ext/groonga/rb-grn-object.c +29 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -8
- data/ext/groonga/rb-grn-table-cursor.c +8 -3
- data/ext/groonga/rb-grn-table.c +10 -5
- data/ext/groonga/rb-grn-thread.c +160 -0
- data/ext/groonga/rb-grn-windows-event-logger.c +79 -0
- data/ext/groonga/rb-grn.h +3 -1
- data/ext/groonga/rb-groonga.c +3 -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/2.2/groonga.so +0 -0
- data/lib/groonga/dumper.rb +6 -1
- data/rroonga-build.rb +4 -4
- data/test/groonga-test-utils.rb +5 -1
- data/test/test-database.rb +11 -0
- data/test/test-logger.rb +6 -0
- data/test/test-operator.rb +6 -6
- data/test/test-procedure.rb +15 -0
- data/test/test-table-dumper.rb +170 -1
- data/test/test-thread.rb +42 -0
- data/test/test-windows-event-logger.rb +28 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/etc/groonga/windows_event_log/provider.man +38 -0
- data/vendor/local/include/groonga/groonga.h +2 -0
- data/vendor/local/include/groonga/groonga/command.h +2 -0
- data/vendor/local/include/groonga/groonga/groonga.h +5 -0
- data/vendor/local/include/groonga/groonga/obj.h +1 -0
- data/vendor/local/include/groonga/groonga/portability.h +16 -0
- data/vendor/local/include/groonga/groonga/thread.h +42 -0
- data/vendor/local/include/groonga/groonga/windows_event_logger.h +33 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/sharding.rb +5 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +43 -6
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +32 -25
- data/vendor/local/lib/groonga/plugins/sharding/logical_parameters.rb +44 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +217 -49
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +507 -45
- data/vendor/local/lib/groonga/plugins/sharding/logical_shard_list.rb +28 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +11 -6
- data/vendor/local/lib/groonga/plugins/sharding/parameters.rb +10 -0
- 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 +2 -2
- 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/command.rb +31 -1
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +18 -2
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +12 -4
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +31 -28
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +4 -2
- data/vendor/local/lib/groonga/scripts/ruby/query_logger.rb +9 -0
- data/vendor/local/lib/groonga/scripts/ruby/query_logger/flag.rb +39 -0
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +12 -0
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +35 -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/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +7 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +4 -0
- 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 +4 -4
- 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 +4 -4
- 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 -4
- 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 +319 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_thread.txt +122 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +381 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +85 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +218 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +138 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +97 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +745 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +107 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +90 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +240 -56
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +33 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_rename.txt +90 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +110 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +3 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +108 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +0 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +24 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +19 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +27 -2
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution.html +78 -70
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +30 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +146 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +227 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +231 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +80 -78
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +135 -122
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +38 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +58 -54
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/genindex.html +48 -20
- data/vendor/local/share/doc/groonga/en/html/index.html +123 -105
- data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +92 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +29 -28
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news.html +509 -142
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +110 -108
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +73 -71
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +111 -109
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +111 -94
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +55 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +89 -87
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +88 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +93 -91
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +79 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +69 -67
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +296 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +60 -58
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +70 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +100 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +796 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +96 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +67 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +236 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +281 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +53 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +78 -75
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +283 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +160 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +2071 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +71 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +86 -84
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +227 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +75 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +898 -647
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +50 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +87 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +175 -152
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +327 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +77 -75
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +241 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +108 -106
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +56 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +56 -55
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +47 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +85 -83
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +244 -242
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +327 -325
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -29
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +107 -103
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +50 -40
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +41 -31
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +241 -0
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +341 -289
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +68 -66
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/spec.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +129 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +29 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +46 -39
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +65 -63
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +7 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +4 -0
- 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 +4 -4
- 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 +4 -4
- 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 -4
- 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 +319 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_thread.txt +122 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +381 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +85 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +218 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +138 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +97 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +745 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +107 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +90 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +240 -56
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +33 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_rename.txt +90 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +110 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +3 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +108 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +0 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +24 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +19 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +27 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +77 -69
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +30 -27
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +144 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +226 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +215 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +229 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +79 -77
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +134 -121
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +57 -53
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +48 -20
- data/vendor/local/share/doc/groonga/ja/html/index.html +122 -104
- data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +30 -29
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news.html +460 -126
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +102 -100
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +91 -89
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +111 -94
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +55 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +85 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +88 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +93 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +79 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +286 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +60 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +70 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +99 -97
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +781 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +88 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +66 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +229 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +266 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +53 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +78 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +158 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +2008 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +285 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +71 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +82 -79
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +220 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +68 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +680 -448
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +146 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +322 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +73 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +229 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +94 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +56 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +56 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +73 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +143 -141
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +236 -234
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +42 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +91 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +50 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +41 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +223 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +303 -243
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/spec.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +128 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +29 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +46 -39
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
- data/vendor/local/share/license/groonga/README.md +6 -0
- data/vendor/local/share/license/mruby/AUTHORS +1 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +6 -5
- data/vendor/local/share/license/msgpack/README +219 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +23512 -15126
- data/vendor/local/share/man/man1/groonga.1 +26542 -17745
- metadata +77 -3
- data/vendor/local/share/license/msgpack/AUTHORS +0 -0
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.14.11. query — Groonga v5.0.
|
10
|
+
<title>7.14.11. query — Groonga v5.0.6-226-gd7da7e7 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: '5.0.
|
18
|
+
VERSION: '5.0.6-226-gd7da7e7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
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 v5.0.
|
28
|
+
<link rel="top" title="Groonga v5.0.6-226-gd7da7e7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.14. Function" href="../function.html" />
|
30
30
|
<link rel="next" title="7.14.12. rand" href="rand.html" />
|
31
31
|
<link rel="prev" title="7.14.10. now" href="now.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,34 +60,34 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="now.html" title="7.14.10. now"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
-
<li><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
63
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
64
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li class="nav-item nav-item-2"><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="query">
|
75
75
|
<h1>7.14.11. query<a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.14.11.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
-
<p><
|
78
|
+
<p><code class="docutils literal"><span class="pre">query</span></code> provides <code class="docutils literal"><span class="pre">--match_columns</span></code> and <code class="docutils literal"><span class="pre">--query</span></code> parameters of
|
79
79
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> feature as function. You can specify
|
80
|
-
multiple <
|
80
|
+
multiple <code class="docutils literal"><span class="pre">query</span></code> functions in <code class="docutils literal"><span class="pre">--filter</span></code> parameter in
|
81
81
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
82
82
|
<p>Because of such flexibility, you can control full text search behavior
|
83
|
-
by combination of multiple <
|
84
|
-
<p><
|
83
|
+
by combination of multiple <code class="docutils literal"><span class="pre">query</span></code> functions.</p>
|
84
|
+
<p><code class="docutils literal"><span class="pre">query</span></code> can be used in only <code class="docutils literal"><span class="pre">--filter</span></code> in
|
85
85
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="syntax">
|
88
88
|
<h2>7.14.11.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
89
|
-
<p><
|
90
|
-
<p>The parameter <
|
89
|
+
<p><code class="docutils literal"><span class="pre">query</span></code> requires two arguments - <code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query_string</span></code>.</p>
|
90
|
+
<p>The parameter <code class="docutils literal"><span class="pre">query_expander</span></code> or <code class="docutils literal"><span class="pre">substitution_table</span></code> is optional.</p>
|
91
91
|
<div class="highlight-none"><div class="highlight"><pre>query(match_columns, query_string)
|
92
92
|
query(match_columns, query_string, query_expander)
|
93
93
|
query(match_columns, query_string, substitution_table)
|
@@ -103,7 +103,7 @@ query(match_columns, query_string, substitution_table)
|
|
103
103
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
104
104
|
column_create Documents content COLUMN_SCALAR Text
|
105
105
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
106
|
-
table_create Terms TABLE_PAT_KEY
|
106
|
+
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
|
107
107
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
108
108
|
column_create Terms documents_content_index COLUMN_INDEX|WITH_POSITION Documents content
|
109
109
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -116,6 +116,7 @@ column_create Users memo COLUMN_SCALAR ShortText
|
|
116
116
|
table_create Lexicon TABLE_HASH_KEY ShortText \
|
117
117
|
--default_tokenizer TokenBigramSplitSymbolAlphaDigit \
|
118
118
|
--normalizer NormalizerAuto
|
119
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
119
120
|
column_create Lexicon users_name COLUMN_INDEX|WITH_POSITION Users name
|
120
121
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
121
122
|
column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
@@ -132,13 +133,12 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
132
133
|
{"name": "Tom", "memo": "nroonga user"},
|
133
134
|
{"name": "Tobby", "memo": "groonga and mroonga user. mroonga is ..."},
|
134
135
|
]
|
135
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
136
136
|
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
137
137
|
</pre></div>
|
138
138
|
</div>
|
139
|
-
<p>Here is the simple usage of <
|
140
|
-
search by keyword 'alice' without using <
|
141
|
-
<
|
139
|
+
<p>Here is the simple usage of <code class="docutils literal"><span class="pre">query</span></code> function which execute full text
|
140
|
+
search by keyword 'alice' without using <code class="docutils literal"><span class="pre">--match_columns</span></code> and
|
141
|
+
<code class="docutils literal"><span class="pre">--query</span></code> arguments in <code class="docutils literal"><span class="pre">--filter</span></code>.</p>
|
142
142
|
<p>Execution example:</p>
|
143
143
|
<div class="highlight-none"><div class="highlight"><pre>select Users --output_columns name,_score --filter 'query("name * 10", "alice")'
|
144
144
|
# [
|
@@ -173,7 +173,7 @@ search by keyword 'alice' without using <tt class="docutils literal"><span class
|
|
173
173
|
</div>
|
174
174
|
<p>When executing above query, the keyword 'alice' is weighted to the value -
|
175
175
|
'10'.</p>
|
176
|
-
<p>Here are the contrasting examples with/without <
|
176
|
+
<p>Here are the contrasting examples with/without <code class="docutils literal"><span class="pre">query</span></code>.</p>
|
177
177
|
<p>Execution example:</p>
|
178
178
|
<div class="highlight-none"><div class="highlight"><pre>select Users --output_columns name,memo,_score --match_columns "memo * 10" --query "memo:@groonga OR memo:@mroonga OR memo:@user" --sortby -_score
|
179
179
|
# [
|
@@ -291,7 +291,7 @@ You can't pass different weight value to each keyword in this way.</p>
|
|
291
291
|
# ]
|
292
292
|
</pre></div>
|
293
293
|
</div>
|
294
|
-
<p>On the other hand, by specifying multiple <
|
294
|
+
<p>On the other hand, by specifying multiple <code class="docutils literal"><span class="pre">query</span></code>, the keywords
|
295
295
|
'groonga' and 'mroonga' and 'user' are given different value of weight.</p>
|
296
296
|
<p>As a result, you can control full text search result by giving different weight to the
|
297
297
|
keywords on your purpose.</p>
|
@@ -300,44 +300,44 @@ keywords on your purpose.</p>
|
|
300
300
|
<h2>7.14.11.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
301
301
|
<div class="section" id="required-parameter">
|
302
302
|
<h3>7.14.11.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
303
|
-
<p>There are two required parameter, <
|
303
|
+
<p>There are two required parameter, <code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query_string</span></code>.</p>
|
304
304
|
<div class="section" id="match-columns">
|
305
|
-
<h4>7.14.11.4.1.1. <
|
305
|
+
<h4>7.14.11.4.1.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
|
306
306
|
<p>Specifies the default target column for fulltext search by
|
307
|
-
<
|
308
|
-
<a class="reference internal" href="../commands/select.html#select-match-columns"><
|
307
|
+
<code class="docutils literal"><span class="pre">query_string</span></code> parameter value. It is the same role as
|
308
|
+
<a class="reference internal" href="../commands/select.html#select-match-columns"><span>match_columns</span></a> parameter in <code class="docutils literal"><span class="pre">select</span></code>.</p>
|
309
309
|
</div>
|
310
310
|
<div class="section" id="query-string">
|
311
|
-
<h4>7.14.11.4.1.2. <
|
311
|
+
<h4>7.14.11.4.1.2. <code class="docutils literal"><span class="pre">query_string</span></code><a class="headerlink" href="#query-string" title="Permalink to this headline">¶</a></h4>
|
312
312
|
<p>Specifies the search condition in
|
313
313
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>. It is the same role as
|
314
|
-
<
|
315
|
-
<p>See <a class="reference internal" href="../commands/select.html#select-match-columns"><
|
316
|
-
<
|
314
|
+
<code class="docutils literal"><span class="pre">query</span></code> parameter in <code class="docutils literal"><span class="pre">select</span></code>.</p>
|
315
|
+
<p>See <a class="reference internal" href="../commands/select.html#select-match-columns"><span>match_columns</span></a> about <code class="docutils literal"><span class="pre">query</span></code> parameter in
|
316
|
+
<code class="docutils literal"><span class="pre">select</span></code>.</p>
|
317
317
|
</div>
|
318
318
|
</div>
|
319
319
|
<div class="section" id="optional-parameter">
|
320
320
|
<h3>7.14.11.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
|
321
321
|
<p>There are some optional parameters.</p>
|
322
322
|
<div class="section" id="query-expander">
|
323
|
-
<h4>7.14.11.4.2.1. <
|
323
|
+
<h4>7.14.11.4.2.1. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
|
324
324
|
<p>Specifies the plugin name for query expansion.</p>
|
325
325
|
<p>There is one plugin bundled in official release - <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a>.</p>
|
326
326
|
<p>See <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> about details.</p>
|
327
327
|
</div>
|
328
328
|
<div class="section" id="substitution-table">
|
329
|
-
<h4>7.14.11.4.2.2. <
|
329
|
+
<h4>7.14.11.4.2.2. <code class="docutils literal"><span class="pre">substitution_table</span></code><a class="headerlink" href="#substitution-table" title="Permalink to this headline">¶</a></h4>
|
330
330
|
<p>Specifies the substitution table and substitution column name
|
331
|
-
by following format such as <
|
332
|
-
<p>See <a class="reference internal" href="../commands/select.html#query-expander"><
|
331
|
+
by following format such as <code class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></code> for query expansion.</p>
|
332
|
+
<p>See <a class="reference internal" href="../commands/select.html#select-query-expander"><span>query_expander</span></a> about details.</p>
|
333
333
|
</div>
|
334
334
|
</div>
|
335
335
|
</div>
|
336
336
|
<div class="section" id="return-value">
|
337
337
|
<h2>7.14.11.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
338
|
-
<p><
|
339
|
-
records are matched, it returns <
|
340
|
-
<
|
338
|
+
<p><code class="docutils literal"><span class="pre">query</span></code> returns whether any record is matched or not. If one or more
|
339
|
+
records are matched, it returns <code class="docutils literal"><span class="pre">true</span></code>. Otherwise, it returns
|
340
|
+
<code class="docutils literal"><span class="pre">false</span></code>.</p>
|
341
341
|
</div>
|
342
342
|
<div class="section" id="todo">
|
343
343
|
<h2>7.14.11.6. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
|
@@ -357,7 +357,7 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
357
357
|
</div>
|
358
358
|
</div>
|
359
359
|
</div>
|
360
|
-
<div class="sphinxsidebar">
|
360
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
361
361
|
<div class="sphinxsidebarwrapper">
|
362
362
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
363
363
|
<ul>
|
@@ -367,13 +367,13 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
367
367
|
<li><a class="reference internal" href="#usage">7.14.11.3. Usage</a></li>
|
368
368
|
<li><a class="reference internal" href="#parameters">7.14.11.4. Parameters</a><ul>
|
369
369
|
<li><a class="reference internal" href="#required-parameter">7.14.11.4.1. Required parameter</a><ul>
|
370
|
-
<li><a class="reference internal" href="#match-columns">7.14.11.4.1.1. <
|
371
|
-
<li><a class="reference internal" href="#query-string">7.14.11.4.1.2. <
|
370
|
+
<li><a class="reference internal" href="#match-columns">7.14.11.4.1.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
|
371
|
+
<li><a class="reference internal" href="#query-string">7.14.11.4.1.2. <code class="docutils literal"><span class="pre">query_string</span></code></a></li>
|
372
372
|
</ul>
|
373
373
|
</li>
|
374
374
|
<li><a class="reference internal" href="#optional-parameter">7.14.11.4.2. Optional parameter</a><ul>
|
375
|
-
<li><a class="reference internal" href="#query-expander">7.14.11.4.2.1. <
|
376
|
-
<li><a class="reference internal" href="#substitution-table">7.14.11.4.2.2. <
|
375
|
+
<li><a class="reference internal" href="#query-expander">7.14.11.4.2.1. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
|
376
|
+
<li><a class="reference internal" href="#substitution-table">7.14.11.4.2.2. <code class="docutils literal"><span class="pre">substitution_table</span></code></a></li>
|
377
377
|
</ul>
|
378
378
|
</li>
|
379
379
|
</ul>
|
@@ -391,12 +391,14 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
391
391
|
<h4>Next topic</h4>
|
392
392
|
<p class="topless"><a href="rand.html"
|
393
393
|
title="next chapter">7.14.12. rand</a></p>
|
394
|
-
<
|
395
|
-
|
396
|
-
<
|
397
|
-
|
398
|
-
|
399
|
-
|
394
|
+
<div role="note" aria-label="source link">
|
395
|
+
<h3>This Page</h3>
|
396
|
+
<ul class="this-page-menu">
|
397
|
+
<li><a href="../../_sources/reference/functions/query.txt"
|
398
|
+
rel="nofollow">Show Source</a></li>
|
399
|
+
</ul>
|
400
|
+
</div>
|
401
|
+
<div id="searchbox" style="display: none" role="search">
|
400
402
|
<h3>Quick search</h3>
|
401
403
|
<form class="search" action="../../search.html" method="get">
|
402
404
|
<input type="text" name="q" />
|
@@ -413,7 +415,7 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
413
415
|
</div>
|
414
416
|
<div class="clearer"></div>
|
415
417
|
</div>
|
416
|
-
<div class="related">
|
418
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
417
419
|
<h3>Navigation</h3>
|
418
420
|
<ul>
|
419
421
|
<li class="right" style="margin-right: 10px">
|
@@ -425,12 +427,12 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
425
427
|
<li class="right" >
|
426
428
|
<a href="now.html" title="7.14.10. now"
|
427
429
|
>previous</a> |</li>
|
428
|
-
<li><a href="../../index.html">Groonga v5.0.
|
429
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
430
|
-
<li><a href="../function.html" >7.14. Function</a> »</li>
|
430
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
431
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
432
|
+
<li class="nav-item nav-item-2"><a href="../function.html" >7.14. Function</a> »</li>
|
431
433
|
</ul>
|
432
434
|
</div>
|
433
|
-
<div class="footer">
|
435
|
+
<div class="footer" role="contentinfo">
|
434
436
|
© Copyright 2009-2015, Brazil, Inc.
|
435
437
|
</div>
|
436
438
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.14.12. rand — Groonga v5.0.
|
10
|
+
<title>7.14.12. rand — Groonga v5.0.6-226-gd7da7e7 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: '5.0.
|
18
|
+
VERSION: '5.0.6-226-gd7da7e7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
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 v5.0.
|
28
|
+
<link rel="top" title="Groonga v5.0.6-226-gd7da7e7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.14. Function" href="../function.html" />
|
30
30
|
<link rel="next" title="7.14.13. snippet_html" href="snippet_html.html" />
|
31
31
|
<link rel="prev" title="7.14.11. query" href="query.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,16 +60,16 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="query.html" title="7.14.11. query"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
-
<li><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
63
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
64
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li class="nav-item nav-item-2"><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="rand">
|
75
75
|
<h1>7.14.12. rand<a class="headerlink" href="#rand" title="Permalink to this headline">¶</a></h1>
|
@@ -90,7 +90,7 @@
|
|
90
90
|
</div>
|
91
91
|
<div class="section" id="id4">
|
92
92
|
<h2>7.14.12.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
93
|
-
<p><
|
93
|
+
<p><code class="docutils literal"><span class="pre">max</span></code></p>
|
94
94
|
<blockquote>
|
95
95
|
<div>返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされます。</div></blockquote>
|
96
96
|
</div>
|
@@ -111,7 +111,7 @@
|
|
111
111
|
</div>
|
112
112
|
</div>
|
113
113
|
</div>
|
114
|
-
<div class="sphinxsidebar">
|
114
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
115
115
|
<div class="sphinxsidebarwrapper">
|
116
116
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
117
117
|
<ul>
|
@@ -132,12 +132,14 @@
|
|
132
132
|
<h4>Next topic</h4>
|
133
133
|
<p class="topless"><a href="snippet_html.html"
|
134
134
|
title="next chapter">7.14.13. snippet_html</a></p>
|
135
|
-
<
|
136
|
-
|
137
|
-
<
|
138
|
-
|
139
|
-
|
140
|
-
|
135
|
+
<div role="note" aria-label="source link">
|
136
|
+
<h3>This Page</h3>
|
137
|
+
<ul class="this-page-menu">
|
138
|
+
<li><a href="../../_sources/reference/functions/rand.txt"
|
139
|
+
rel="nofollow">Show Source</a></li>
|
140
|
+
</ul>
|
141
|
+
</div>
|
142
|
+
<div id="searchbox" style="display: none" role="search">
|
141
143
|
<h3>Quick search</h3>
|
142
144
|
<form class="search" action="../../search.html" method="get">
|
143
145
|
<input type="text" name="q" />
|
@@ -154,7 +156,7 @@
|
|
154
156
|
</div>
|
155
157
|
<div class="clearer"></div>
|
156
158
|
</div>
|
157
|
-
<div class="related">
|
159
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
158
160
|
<h3>Navigation</h3>
|
159
161
|
<ul>
|
160
162
|
<li class="right" style="margin-right: 10px">
|
@@ -166,12 +168,12 @@
|
|
166
168
|
<li class="right" >
|
167
169
|
<a href="query.html" title="7.14.11. query"
|
168
170
|
>previous</a> |</li>
|
169
|
-
<li><a href="../../index.html">Groonga v5.0.
|
170
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
171
|
-
<li><a href="../function.html" >7.14. Function</a> »</li>
|
171
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
172
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
173
|
+
<li class="nav-item nav-item-2"><a href="../function.html" >7.14. Function</a> »</li>
|
172
174
|
</ul>
|
173
175
|
</div>
|
174
|
-
<div class="footer">
|
176
|
+
<div class="footer" role="contentinfo">
|
175
177
|
© Copyright 2009-2015, Brazil, Inc.
|
176
178
|
</div>
|
177
179
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.14.13. snippet_html — Groonga v5.0.
|
10
|
+
<title>7.14.13. snippet_html — Groonga v5.0.6-226-gd7da7e7 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: '5.0.
|
18
|
+
VERSION: '5.0.6-226-gd7da7e7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
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 v5.0.
|
28
|
+
<link rel="top" title="Groonga v5.0.6-226-gd7da7e7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.14. Function" href="../function.html" />
|
30
30
|
<link rel="next" title="7.14.14. sub_filter" href="sub_filter.html" />
|
31
31
|
<link rel="prev" title="7.14.12. rand" href="rand.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,16 +60,16 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="rand.html" title="7.14.12. rand"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
-
<li><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
63
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
64
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li class="nav-item nav-item-2"><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="snippet-html">
|
75
75
|
<h1>7.14.13. snippet_html<a class="headerlink" href="#snippet-html" title="Permalink to this headline">¶</a></h1>
|
@@ -79,21 +79,21 @@
|
|
79
79
|
</div>
|
80
80
|
<div class="section" id="summary">
|
81
81
|
<h2>7.14.13.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
82
|
-
<p><
|
83
|
-
keywords (<
|
84
|
-
for embedding HTML. Special characters such as <
|
85
|
-
escapsed as <
|
86
|
-
<span class="pre">class="keyword"></span></
|
87
|
-
<span class="pre">groonga</span> <span class="pre">user.</span> <span class="pre"><3</span></
|
88
|
-
<span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></
|
82
|
+
<p><code class="docutils literal"><span class="pre">snippet_html</span></code> extracts snippets of target text around search
|
83
|
+
keywords (<code class="docutils literal"><span class="pre">KWIC</span></code>. <code class="docutils literal"><span class="pre">KeyWord</span> <span class="pre">In</span> <span class="pre">Context</span></code>). The snippets are prepared
|
84
|
+
for embedding HTML. Special characters such as <code class="docutils literal"><span class="pre"><</span></code> and <code class="docutils literal"><span class="pre">></span></code> are
|
85
|
+
escapsed as <code class="docutils literal"><span class="pre">&lt;</span></code> and <code class="docutils literal"><span class="pre">&gt;</span></code>. Keyword is surrounded with <code class="docutils literal"><span class="pre"><span</span>
|
86
|
+
<span class="pre">class="keyword"></span></code> and <code class="docutils literal"><span class="pre"></span></span></code>. For example, a snippet of <code class="docutils literal"><span class="pre">I</span> <span class="pre">am</span> <span class="pre">a</span>
|
87
|
+
<span class="pre">groonga</span> <span class="pre">user.</span> <span class="pre"><3</span></code> for keyword <code class="docutils literal"><span class="pre">groonga</span></code> is <code class="docutils literal"><span class="pre">I</span> <span class="pre">am</span> <span class="pre">a</span> <span class="pre"><span</span>
|
88
|
+
<span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></code>.</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="syntax">
|
91
91
|
<h2>7.14.13.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
92
|
-
<p><
|
92
|
+
<p><code class="docutils literal"><span class="pre">snippet_html</span></code> has only one parameter:</p>
|
93
93
|
<div class="highlight-none"><div class="highlight"><pre>snippet_html(column)
|
94
94
|
</pre></div>
|
95
95
|
</div>
|
96
|
-
<p><
|
96
|
+
<p><code class="docutils literal"><span class="pre">snippet_html</span></code> has many parameters internally but they can't be
|
97
97
|
specified for now. You will be able to custom those parameters soon.</p>
|
98
98
|
</div>
|
99
99
|
<div class="section" id="usage">
|
@@ -104,7 +104,7 @@ specified for now. You will be able to custom those parameters soon.</p>
|
|
104
104
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
105
105
|
column_create Documents content COLUMN_SCALAR Text
|
106
106
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
107
|
-
table_create Terms TABLE_PAT_KEY
|
107
|
+
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
|
108
108
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
109
109
|
column_create Terms documents_content_index COLUMN_INDEX|WITH_POSITION Documents content
|
110
110
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -117,15 +117,15 @@ load --table Documents
|
|
117
117
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
118
118
|
</pre></div>
|
119
119
|
</div>
|
120
|
-
<p><
|
120
|
+
<p><code class="docutils literal"><span class="pre">snippet_html</span></code> can be used in only <code class="docutils literal"><span class="pre">--output_columns</span></code> in
|
121
121
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
122
|
-
<p>You need to specify <
|
123
|
-
because function call in <
|
122
|
+
<p>You need to specify <code class="docutils literal"><span class="pre">--command_version</span> <span class="pre">2</span></code> argument explicitly
|
123
|
+
because function call in <code class="docutils literal"><span class="pre">--output_columns</span></code> is experimental feature
|
124
124
|
in Groonga 2.0.9. It will be enabled by default soon.</p>
|
125
|
-
<p>You also need to specify <
|
126
|
-
extracted from <
|
127
|
-
<p>The following example uses <
|
128
|
-
case, <
|
125
|
+
<p>You also need to specify <code class="docutils literal"><span class="pre">--query</span></code> and/or <code class="docutils literal"><span class="pre">--filter</span></code>. Keywords are
|
126
|
+
extracted from <code class="docutils literal"><span class="pre">--query</span></code> and <code class="docutils literal"><span class="pre">--filter</span></code> arguments.</p>
|
127
|
+
<p>The following example uses <code class="docutils literal"><span class="pre">--query</span> <span class="pre">"fast</span> <span class="pre">performance"</span></code>. In this
|
128
|
+
case, <code class="docutils literal"><span class="pre">fast</span></code> and <code class="docutils literal"><span class="pre">performance</span></code> are used as keywords.</p>
|
129
129
|
<p>Execution example:</p>
|
130
130
|
<div class="highlight-none"><div class="highlight"><pre>select Documents --output_columns "snippet_html(content)" --command_version 2 --match_columns content --query "fast performance"
|
131
131
|
# [
|
@@ -156,15 +156,15 @@ case, <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt cl
|
|
156
156
|
# ]
|
157
157
|
</pre></div>
|
158
158
|
</div>
|
159
|
-
<p><
|
160
|
-
content. <
|
161
|
-
include the keywords <
|
162
|
-
keywords with <
|
159
|
+
<p><code class="docutils literal"><span class="pre">--query</span> <span class="pre">"fast</span> <span class="pre">performance"</span></code> matches to only the first record's
|
160
|
+
content. <code class="docutils literal"><span class="pre">snippet_html(content)</span></code> extracts two text parts that
|
161
|
+
include the keywords <code class="docutils literal"><span class="pre">fast</span></code> or <code class="docutils literal"><span class="pre">performance</span></code> and surrounds the
|
162
|
+
keywords with <code class="docutils literal"><span class="pre"><span</span> <span class="pre">class="keyword"></span></code> and <code class="docutils literal"><span class="pre"></span></span></code>.</p>
|
163
163
|
<p>The max number of text parts is 3. If there are 4 or more text parts
|
164
164
|
that include the keywords, only the leading 3 parts are only used.</p>
|
165
165
|
<p>The max size of a text part is 200byte. The unit is bytes not
|
166
|
-
chracters. The size doesn't include inserted <
|
167
|
-
and <
|
166
|
+
chracters. The size doesn't include inserted <code class="docutils literal"><span class="pre"><span</span> <span class="pre">keyword="keyword"></span></code>
|
167
|
+
and <code class="docutils literal"><span class="pre"></span></span></code>.</p>
|
168
168
|
<p>Both the max number of text parts and the max size of a text part
|
169
169
|
aren't customizable.</p>
|
170
170
|
<p>You can specify string literal instead of column.</p>
|
@@ -200,14 +200,14 @@ aren't customizable.</p>
|
|
200
200
|
</div>
|
201
201
|
<div class="section" id="return-value">
|
202
202
|
<h2>7.14.13.4. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
203
|
-
<p><
|
204
|
-
<
|
203
|
+
<p><code class="docutils literal"><span class="pre">snippet_html</span></code> returns an array of string or <code class="docutils literal"><span class="pre">null</span></code>. If
|
204
|
+
<code class="docutils literal"><span class="pre">snippet_html</span></code> can't find any snippets, it returns <code class="docutils literal"><span class="pre">null</span></code>.</p>
|
205
205
|
<p>An element of array is a snippet:</p>
|
206
206
|
<div class="highlight-none"><div class="highlight"><pre>[SNIPPET1, SNIPPET2, SNIPPET3]
|
207
207
|
</pre></div>
|
208
208
|
</div>
|
209
209
|
<p>A snippet includes one or more keywords. The max byte size of a
|
210
|
-
snippet except <
|
210
|
+
snippet except <code class="docutils literal"><span class="pre"><span</span> <span class="pre">keyword="keyword"></span></code> and <code class="docutils literal"><span class="pre"></span></span></code> is
|
211
211
|
200byte. The unit isn't the number of chracters.</p>
|
212
212
|
<p>The array size is larger than or equal to 0 and less than or equal
|
213
213
|
to 3. The max size 3 will be customizable soon.</p>
|
@@ -235,7 +235,7 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
235
235
|
</div>
|
236
236
|
</div>
|
237
237
|
</div>
|
238
|
-
<div class="sphinxsidebar">
|
238
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
239
239
|
<div class="sphinxsidebarwrapper">
|
240
240
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
241
241
|
<ul>
|
@@ -256,12 +256,14 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
256
256
|
<h4>Next topic</h4>
|
257
257
|
<p class="topless"><a href="sub_filter.html"
|
258
258
|
title="next chapter">7.14.14. sub_filter</a></p>
|
259
|
-
<
|
260
|
-
|
261
|
-
<
|
262
|
-
|
263
|
-
|
264
|
-
|
259
|
+
<div role="note" aria-label="source link">
|
260
|
+
<h3>This Page</h3>
|
261
|
+
<ul class="this-page-menu">
|
262
|
+
<li><a href="../../_sources/reference/functions/snippet_html.txt"
|
263
|
+
rel="nofollow">Show Source</a></li>
|
264
|
+
</ul>
|
265
|
+
</div>
|
266
|
+
<div id="searchbox" style="display: none" role="search">
|
265
267
|
<h3>Quick search</h3>
|
266
268
|
<form class="search" action="../../search.html" method="get">
|
267
269
|
<input type="text" name="q" />
|
@@ -278,7 +280,7 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
278
280
|
</div>
|
279
281
|
<div class="clearer"></div>
|
280
282
|
</div>
|
281
|
-
<div class="related">
|
283
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
282
284
|
<h3>Navigation</h3>
|
283
285
|
<ul>
|
284
286
|
<li class="right" style="margin-right: 10px">
|
@@ -290,12 +292,12 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
290
292
|
<li class="right" >
|
291
293
|
<a href="rand.html" title="7.14.12. rand"
|
292
294
|
>previous</a> |</li>
|
293
|
-
<li><a href="../../index.html">Groonga v5.0.
|
294
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
295
|
-
<li><a href="../function.html" >7.14. Function</a> »</li>
|
295
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
296
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
297
|
+
<li class="nav-item nav-item-2"><a href="../function.html" >7.14. Function</a> »</li>
|
296
298
|
</ul>
|
297
299
|
</div>
|
298
|
-
<div class="footer">
|
300
|
+
<div class="footer" role="contentinfo">
|
299
301
|
© Copyright 2009-2015, Brazil, Inc.
|
300
302
|
</div>
|
301
303
|
</body>
|