rroonga 5.0.4-x86-mingw32 → 5.0.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-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.a +0 -0
- 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.10.1. QueryExpanderTSV — Groonga v5.0.
|
10
|
+
<title>7.10.1. QueryExpanderTSV — 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.10. Query expanders" href="../query_expanders.html" />
|
30
30
|
<link rel="next" title="7.11. Scorer" href="../scorer.html" />
|
31
31
|
<link rel="prev" title="7.10. Query expanders" href="../query_expanders.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,22 +60,22 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="../query_expanders.html" title="7.10. Query expanders"
|
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="../query_expanders.html" accesskey="U">7.10. Query expanders</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="../query_expanders.html" accesskey="U">7.10. Query expanders</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="queryexpandertsv">
|
75
75
|
<h1>7.10.1. QueryExpanderTSV<a class="headerlink" href="#queryexpandertsv" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.10.1.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">QueryExpanderTSV</span></code> is a query expander plugin that reads synonyms
|
79
79
|
from TSV (Tab Separated Values) file. This plugin provides poor
|
80
80
|
feature than the embedded query expansion feature. For example, it
|
81
81
|
doesn't support word normalization. But it may be easy to use because
|
@@ -85,20 +85,20 @@ expansion feature, you manage your synonyms by Groonga's table.</p>
|
|
85
85
|
</div>
|
86
86
|
<div class="section" id="install">
|
87
87
|
<h2>7.10.1.2. Install<a class="headerlink" href="#install" title="Permalink to this headline">¶</a></h2>
|
88
|
-
<p>You need to register <
|
89
|
-
use <
|
88
|
+
<p>You need to register <code class="docutils literal"><span class="pre">query_expanders/tsv</span></code> as a plugin before you
|
89
|
+
use <code class="docutils literal"><span class="pre">QueryExpanderTSV</span></code>:</p>
|
90
90
|
<div class="highlight-none"><div class="highlight"><pre>register query_expanders/tsv
|
91
91
|
</pre></div>
|
92
92
|
</div>
|
93
93
|
</div>
|
94
94
|
<div class="section" id="usage">
|
95
95
|
<h2>7.10.1.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
96
|
-
<p>You just add <
|
97
|
-
<
|
96
|
+
<p>You just add <code class="docutils literal"><span class="pre">--query_expansion</span> <span class="pre">QueryExpanderTSV</span></code> parameter to
|
97
|
+
<code class="docutils literal"><span class="pre">select</span></code> command:</p>
|
98
98
|
<div class="highlight-none"><div class="highlight"><pre>select --query "QUERY" --query_expansion QueryExpanderTSV
|
99
99
|
</pre></div>
|
100
100
|
</div>
|
101
|
-
<p>If <
|
101
|
+
<p>If <code class="docutils literal"><span class="pre">QUERY</span></code> has registered synonyms, they are expanded. For example,
|
102
102
|
there are the following synonyms.</p>
|
103
103
|
<table border="1" class="docutils">
|
104
104
|
<colgroup>
|
@@ -123,11 +123,11 @@ there are the following synonyms.</p>
|
|
123
123
|
</tr>
|
124
124
|
</tbody>
|
125
125
|
</table>
|
126
|
-
<p>The table means that <
|
127
|
-
<
|
128
|
-
<
|
129
|
-
<
|
130
|
-
<p>Here is an example of query expnasion that uses <
|
126
|
+
<p>The table means that <code class="docutils literal"><span class="pre">synonym</span> <span class="pre">1</span></code> and <code class="docutils literal"><span class="pre">synonym</span> <span class="pre">2</span></code> are synonyms of
|
127
|
+
<code class="docutils literal"><span class="pre">word</span></code>. For example, <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">Senna</span></code> are synonyms of
|
128
|
+
<code class="docutils literal"><span class="pre">groonga</span></code>. And <code class="docutils literal"><span class="pre">mroonga</span></code> and <code class="docutils literal"><span class="pre">groonga</span> <span class="pre">MySQL</span></code> are synonyms of
|
129
|
+
<code class="docutils literal"><span class="pre">mroonga</span></code>.</p>
|
130
|
+
<p>Here is an example of query expnasion that uses <code class="docutils literal"><span class="pre">groonga</span></code> as query:</p>
|
131
131
|
<div class="highlight-none"><div class="highlight"><pre>select --query "groonga" --query_expansion QueryExpanderTSV
|
132
132
|
</pre></div>
|
133
133
|
</div>
|
@@ -135,8 +135,8 @@ there are the following synonyms.</p>
|
|
135
135
|
<div class="highlight-none"><div class="highlight"><pre>select --query "groonga OR Senna" --query_expansion QueryExpanderTSV
|
136
136
|
</pre></div>
|
137
137
|
</div>
|
138
|
-
<p>Here is another example of query expnasion that uses <
|
139
|
-
<span class="pre">search</span></
|
138
|
+
<p>Here is another example of query expnasion that uses <code class="docutils literal"><span class="pre">mroonga</span>
|
139
|
+
<span class="pre">search</span></code> as query:</p>
|
140
140
|
<div class="highlight-none"><div class="highlight"><pre>select --query "mroonga search" --query_expansion QueryExpanderTSV
|
141
141
|
</pre></div>
|
142
142
|
</div>
|
@@ -144,15 +144,15 @@ there are the following synonyms.</p>
|
|
144
144
|
<div class="highlight-none"><div class="highlight"><pre>select --query "(mroonga OR (groonga MySQL)) search" --query_expansion QueryExpanderTSV
|
145
145
|
</pre></div>
|
146
146
|
</div>
|
147
|
-
<p>It is important that registered words (<
|
148
|
-
are only expanded to synonyms and not registered words (<
|
147
|
+
<p>It is important that registered words (<code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">mroonga</span></code>)
|
148
|
+
are only expanded to synonyms and not registered words (<code class="docutils literal"><span class="pre">search</span></code>)
|
149
149
|
are not expanded. Query expansion isn't occurred
|
150
|
-
recursively. <
|
151
|
-
<span class="pre">MySQL))</span></
|
152
|
-
<p>Normally, you need to include <
|
153
|
-
example, <
|
154
|
-
themselves. If you want to ignore <
|
155
|
-
<
|
150
|
+
recursively. <code class="docutils literal"><span class="pre">groonga</span></code> is appeared in <code class="docutils literal"><span class="pre">(mroonga</span> <span class="pre">OR</span> <span class="pre">(groonga</span>
|
151
|
+
<span class="pre">MySQL))</span></code> as query expansion result but it isn't expanded.</p>
|
152
|
+
<p>Normally, you need to include <code class="docutils literal"><span class="pre">word</span></code> itself into synonyms. For
|
153
|
+
example, <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">mroonga</span></code> are included in synonyms of
|
154
|
+
themselves. If you want to ignore <code class="docutils literal"><span class="pre">word</span></code> itself, you don't include
|
155
|
+
<code class="docutils literal"><span class="pre">word</span></code> itself into synonyms. For example, if you want to use query
|
156
156
|
expansion as spelling correction, you should use the following
|
157
157
|
synonyms.</p>
|
158
158
|
<table border="1" class="docutils">
|
@@ -171,8 +171,8 @@ synonyms.</p>
|
|
171
171
|
</tr>
|
172
172
|
</tbody>
|
173
173
|
</table>
|
174
|
-
<p><
|
175
|
-
<
|
174
|
+
<p><code class="docutils literal"><span class="pre">gronga</span></code> in <code class="docutils literal"><span class="pre">word</span></code> has a typo. A <code class="docutils literal"><span class="pre">o</span></code> is missing. <code class="docutils literal"><span class="pre">groonga</span></code> in
|
175
|
+
<code class="docutils literal"><span class="pre">synonym</span></code> is the correct word.</p>
|
176
176
|
<p>Here is an example of using query expnasion as spelling correction:</p>
|
177
177
|
<div class="highlight-none"><div class="highlight"><pre>select --query "gronga" --query_expansion QueryExpanderTSV
|
178
178
|
</pre></div>
|
@@ -181,7 +181,7 @@ synonyms.</p>
|
|
181
181
|
<div class="highlight-none"><div class="highlight"><pre>select --query "groonga" --query_expansion QueryExpanderTSV
|
182
182
|
</pre></div>
|
183
183
|
</div>
|
184
|
-
<p>The former command has a typo in <
|
184
|
+
<p>The former command has a typo in <code class="docutils literal"><span class="pre">--query</span></code> value but the latter
|
185
185
|
command doesn't have any typos.</p>
|
186
186
|
</div>
|
187
187
|
<div class="section" id="tsv-file">
|
@@ -190,32 +190,32 @@ command doesn't have any typos.</p>
|
|
190
190
|
it.</p>
|
191
191
|
<div class="section" id="location">
|
192
192
|
<h3>7.10.1.4.1. Location<a class="headerlink" href="#location" title="Permalink to this headline">¶</a></h3>
|
193
|
-
<p>The file name should be <
|
194
|
-
configuration directory. For example, <
|
193
|
+
<p>The file name should be <code class="docutils literal"><span class="pre">synonyms.tsv</span></code> and it is located at
|
194
|
+
configuration directory. For example, <code class="docutils literal"><span class="pre">/etc/groonga/synonyms.tsv</span></code> is
|
195
195
|
a TSV file location. The location is decided at build time.</p>
|
196
196
|
<p>You can change the location by environment variable
|
197
|
-
<
|
197
|
+
<code class="docutils literal"><span class="pre">GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE</span></code> at run time:</p>
|
198
198
|
<div class="highlight-none"><div class="highlight"><pre>% env GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/tmp/synonyms.tsv groonga
|
199
199
|
</pre></div>
|
200
200
|
</div>
|
201
|
-
<p>With the above command, <
|
201
|
+
<p>With the above command, <code class="docutils literal"><span class="pre">/tmp/synonyms.tsv</span></code> file is used.</p>
|
202
202
|
</div>
|
203
203
|
<div class="section" id="format">
|
204
204
|
<h3>7.10.1.4.2. Format<a class="headerlink" href="#format" title="Permalink to this headline">¶</a></h3>
|
205
205
|
<p>You can define zero or more synonyms in a TSV file. You define a
|
206
|
-
<
|
207
|
-
<
|
208
|
-
<
|
209
|
-
as <
|
210
|
-
<p>The first column is <
|
211
|
-
the <
|
212
|
-
<
|
213
|
-
character (<
|
206
|
+
<code class="docutils literal"><span class="pre">word</span></code> and <code class="docutils literal"><span class="pre">synonyms</span></code> pair by a line. <code class="docutils literal"><span class="pre">word</span></code> is expanded to
|
207
|
+
<code class="docutils literal"><span class="pre">synonyms</span></code> in <code class="docutils literal"><span class="pre">--query</span></code> value. <code class="docutils literal"><span class="pre">Synonyms</span></code> are combined by
|
208
|
+
<code class="docutils literal"><span class="pre">OR</span></code>. For example, <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">Senna</span></code> synonyms are expanded
|
209
|
+
as <code class="docutils literal"><span class="pre">groonga</span> <span class="pre">OR</span> <span class="pre">Senna</span></code>.</p>
|
210
|
+
<p>The first column is <code class="docutils literal"><span class="pre">word</span></code> and the rest columns are <code class="docutils literal"><span class="pre">synonyms</span></code> of
|
211
|
+
the <code class="docutils literal"><span class="pre">word</span></code>. Here is a sample line for <code class="docutils literal"><span class="pre">word</span></code> is <code class="docutils literal"><span class="pre">groonga</span></code> and
|
212
|
+
<code class="docutils literal"><span class="pre">synonyms</span></code> are <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">Senna</span></code>. <code class="docutils literal"><span class="pre">(TAB)</span></code> means a tab
|
213
|
+
character (<code class="docutils literal"><span class="pre">U+0009</span></code>):</p>
|
214
214
|
<div class="highlight-none"><div class="highlight"><pre>groonga(TAB)groonga(TAB)Senna
|
215
215
|
</pre></div>
|
216
216
|
</div>
|
217
|
-
<p>Comment line is supported. Lines that start with <
|
218
|
-
Here is an example for comment line. <
|
217
|
+
<p>Comment line is supported. Lines that start with <code class="docutils literal"><span class="pre">#</span></code> are ignored.
|
218
|
+
Here is an example for comment line. <code class="docutils literal"><span class="pre">groonga</span></code> line is ignored as
|
219
219
|
comment line:</p>
|
220
220
|
<div class="highlight-none"><div class="highlight"><pre>#groonga(TAB)groonga(TAB)Senna
|
221
221
|
mroonga(TAB)mroonga(TAB)groonga MySQL
|
@@ -232,7 +232,7 @@ loaded only at the plugin load time.</p>
|
|
232
232
|
<h2>7.10.1.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
233
233
|
<blockquote>
|
234
234
|
<div><ul class="simple">
|
235
|
-
<li><a class="reference internal" href="../commands/select.html#query-expansion"><
|
235
|
+
<li><a class="reference internal" href="../commands/select.html#select-query-expansion"><span>query_expansion</span></a></li>
|
236
236
|
</ul>
|
237
237
|
</div></blockquote>
|
238
238
|
</div>
|
@@ -242,7 +242,7 @@ loaded only at the plugin load time.</p>
|
|
242
242
|
</div>
|
243
243
|
</div>
|
244
244
|
</div>
|
245
|
-
<div class="sphinxsidebar">
|
245
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
246
246
|
<div class="sphinxsidebarwrapper">
|
247
247
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
248
248
|
<ul>
|
@@ -267,12 +267,14 @@ loaded only at the plugin load time.</p>
|
|
267
267
|
<h4>Next topic</h4>
|
268
268
|
<p class="topless"><a href="../scorer.html"
|
269
269
|
title="next chapter">7.11. Scorer</a></p>
|
270
|
-
<
|
271
|
-
|
272
|
-
<
|
273
|
-
|
274
|
-
|
275
|
-
|
270
|
+
<div role="note" aria-label="source link">
|
271
|
+
<h3>This Page</h3>
|
272
|
+
<ul class="this-page-menu">
|
273
|
+
<li><a href="../../_sources/reference/query_expanders/tsv.txt"
|
274
|
+
rel="nofollow">Show Source</a></li>
|
275
|
+
</ul>
|
276
|
+
</div>
|
277
|
+
<div id="searchbox" style="display: none" role="search">
|
276
278
|
<h3>Quick search</h3>
|
277
279
|
<form class="search" action="../../search.html" method="get">
|
278
280
|
<input type="text" name="q" />
|
@@ -289,7 +291,7 @@ loaded only at the plugin load time.</p>
|
|
289
291
|
</div>
|
290
292
|
<div class="clearer"></div>
|
291
293
|
</div>
|
292
|
-
<div class="related">
|
294
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
293
295
|
<h3>Navigation</h3>
|
294
296
|
<ul>
|
295
297
|
<li class="right" style="margin-right: 10px">
|
@@ -301,12 +303,12 @@ loaded only at the plugin load time.</p>
|
|
301
303
|
<li class="right" >
|
302
304
|
<a href="../query_expanders.html" title="7.10. Query expanders"
|
303
305
|
>previous</a> |</li>
|
304
|
-
<li><a href="../../index.html">Groonga v5.0.
|
305
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
306
|
-
<li><a href="../query_expanders.html" >7.10. Query expanders</a> »</li>
|
306
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
307
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
308
|
+
<li class="nav-item nav-item-2"><a href="../query_expanders.html" >7.10. Query expanders</a> »</li>
|
307
309
|
</ul>
|
308
310
|
</div>
|
309
|
-
<div class="footer">
|
311
|
+
<div class="footer" role="contentinfo">
|
310
312
|
© Copyright 2009-2015, Brazil, Inc.
|
311
313
|
</div>
|
312
314
|
</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.13. Regular expression — Groonga v5.0.
|
10
|
+
<title>7.13. Regular expression — 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. Reference manual" href="../reference.html" />
|
30
30
|
<link rel="next" title="7.14. Function" href="function.html" />
|
31
31
|
<link rel="prev" title="7.12.2. Script syntax" href="grn_expr/script_syntax.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,15 +60,15 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_expr/script_syntax.html" title="7.12.2. Script syntax"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v5.0.
|
64
|
-
<li><a href="../reference.html" accesskey="U">7. Reference manual</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" accesskey="U">7. Reference manual</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
67
67
|
|
68
68
|
<div class="document">
|
69
69
|
<div class="documentwrapper">
|
70
70
|
<div class="bodywrapper">
|
71
|
-
<div class="body">
|
71
|
+
<div class="body" role="main">
|
72
72
|
|
73
73
|
<div class="section" id="regular-expression">
|
74
74
|
<h1>7.13. Regular expression<a class="headerlink" href="#regular-expression" title="Permalink to this headline">¶</a></h1>
|
@@ -92,21 +92,23 @@ that can be evaluated by index are described later.</p>
|
|
92
92
|
<p>There are many regular expression syntaxes. Groonga uses the same
|
93
93
|
syntax in Ruby. Because Groonga uses the same regular expression
|
94
94
|
engine as Ruby. The regular expression engine is <a class="reference external" href="https://github.com/k-takata/Onigmo/">Onigmo</a>. Characteristic difference
|
95
|
-
with other regular expression syntax is <
|
96
|
-
expression syntax in Ruby, <
|
97
|
-
means the end of line. <
|
95
|
+
with other regular expression syntax is <code class="docutils literal"><span class="pre">^</span></code> and <code class="docutils literal"><span class="pre">$</span></code>. The regular
|
96
|
+
expression syntax in Ruby, <code class="docutils literal"><span class="pre">^</span></code> means the beginning of line and <code class="docutils literal"><span class="pre">$</span></code>
|
97
|
+
means the end of line. <code class="docutils literal"><span class="pre">^</span></code> means the beginning of text and <code class="docutils literal"><span class="pre">$</span></code>
|
98
98
|
means the end of text in other most regular expression syntaxes. The regular
|
99
|
-
expression syntax in Ruby uses <
|
100
|
-
<
|
101
|
-
<p>
|
102
|
-
<
|
99
|
+
expression syntax in Ruby uses <code class="docutils literal"><span class="pre">\A</span></code> for the beginning of text and
|
100
|
+
<code class="docutils literal"><span class="pre">\z</span></code> for the end of text.</p>
|
101
|
+
<p>Groonga uses multiline mode since 5.0.6. It means that <code class="docutils literal"><span class="pre">.</span></code> matches
|
102
|
+
on <code class="docutils literal"><span class="pre">\n</span></code>.</p>
|
103
|
+
<p>You can use regular expression in <a class="reference internal" href="commands/select.html#select-query"><span>query</span></a> and
|
104
|
+
<a class="reference internal" href="commands/select.html#select-filter"><span>filter</span></a> options of <a class="reference internal" href="commands/select.html"><em>select</em></a>
|
103
105
|
command.</p>
|
104
106
|
</div>
|
105
107
|
<div class="section" id="usage">
|
106
108
|
<h2>7.13.2. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
107
109
|
<p>Here are a schema definition and sample data to show usage. There is
|
108
|
-
only one table, <
|
109
|
-
column. Log messages are stored into the <
|
110
|
+
only one table, <code class="docutils literal"><span class="pre">Logs</span></code>. <code class="docutils literal"><span class="pre">Logs</span></code> table has only <code class="docutils literal"><span class="pre">message</span></code>
|
111
|
+
column. Log messages are stored into the <code class="docutils literal"><span class="pre">message</span></code> column.</p>
|
110
112
|
<p>Execution example:</p>
|
111
113
|
<div class="highlight-none"><div class="highlight"><pre>table_create Logs TABLE_NO_KEY
|
112
114
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -124,8 +126,8 @@ load --table Logs
|
|
124
126
|
</pre></div>
|
125
127
|
</div>
|
126
128
|
<p>Here is an example that uses regular expression in
|
127
|
-
<a class="reference internal" href="commands/select.html#select-query"><
|
128
|
-
<
|
129
|
+
<a class="reference internal" href="commands/select.html#select-query"><span>query</span></a>. You need to use
|
130
|
+
<code class="docutils literal"><span class="pre">${COLUMN}:~${REGULAR_EXPRESSION}</span></code> syntax.</p>
|
129
131
|
<p>Execution example:</p>
|
130
132
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --query 'message:~"[Dd]isk"'
|
131
133
|
# [
|
@@ -163,8 +165,8 @@ load --table Logs
|
|
163
165
|
</pre></div>
|
164
166
|
</div>
|
165
167
|
<p>Here is an example that uses regular expression in
|
166
|
-
<a class="reference internal" href="commands/select.html#select-filter"><
|
167
|
-
<
|
168
|
+
<a class="reference internal" href="commands/select.html#select-filter"><span>filter</span></a>. You need to use
|
169
|
+
<code class="docutils literal"><span class="pre">${COLUMN}</span> <span class="pre">@~</span> <span class="pre">${REGULAR_EXPRESSION}</span></code> syntax.</p>
|
168
170
|
<p>Execution example:</p>
|
169
171
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "[Dd]isk"'
|
170
172
|
# [
|
@@ -211,23 +213,23 @@ only the following regular expression patterns. The patterns will be
|
|
211
213
|
increased in the future.</p>
|
212
214
|
<blockquote>
|
213
215
|
<div><ul class="simple">
|
214
|
-
<li>Literal only pattern such as <
|
215
|
-
<li>The begging of text and literal only pattern such as <
|
216
|
-
<li>The end of text and literal only pattern such as <
|
216
|
+
<li>Literal only pattern such as <code class="docutils literal"><span class="pre">disk</span></code></li>
|
217
|
+
<li>The begging of text and literal only pattern such as <code class="docutils literal"><span class="pre">\Adisk</span></code></li>
|
218
|
+
<li>The end of text and literal only pattern such as <code class="docutils literal"><span class="pre">disk\z</span></code></li>
|
217
219
|
</ul>
|
218
220
|
</div></blockquote>
|
219
221
|
<p>You need to create an index for fast regular expression search. Here
|
220
222
|
are requirements of index:</p>
|
221
223
|
<blockquote>
|
222
224
|
<div><ul class="simple">
|
223
|
-
<li>Lexicon must be <a class="reference internal" href="tables.html#table-pat-key"><
|
224
|
-
<li>Lexicon must use <a class="reference internal" href="tokenizers.html#token-regexp"><
|
225
|
-
<li>Index column must has <
|
225
|
+
<li>Lexicon must be <a class="reference internal" href="tables.html#table-pat-key"><span>TABLE_PAT_KEY</span></a> table.</li>
|
226
|
+
<li>Lexicon must use <a class="reference internal" href="tokenizers.html#token-regexp"><span>TokenRegexp</span></a> tokenizer.</li>
|
227
|
+
<li>Index column must has <code class="docutils literal"><span class="pre">WITH_POSITION</span></code> flag.</li>
|
226
228
|
</ul>
|
227
229
|
</div></blockquote>
|
228
230
|
<p>Other configurations such as lexicon's normalizer are optional. You
|
229
231
|
can choose what you like. If you want to use case-insensitive search,
|
230
|
-
use <a class="reference internal" href="normalizers.html#normalizer-auto"><
|
232
|
+
use <a class="reference internal" href="normalizers.html#normalizer-auto"><span>NormalizerAuto</span></a> normalizer.</p>
|
231
233
|
<p>Here are recommended index definitions. In general, it's reasonable
|
232
234
|
index definitions.</p>
|
233
235
|
<p>Execution example:</p>
|
@@ -283,8 +285,8 @@ beginning of text" and "literal".</p>
|
|
283
285
|
# ]
|
284
286
|
</pre></div>
|
285
287
|
</div>
|
286
|
-
<p>Here is an example that uses <a class="reference internal" href="commands/select.html#select-filter"><
|
287
|
-
<a class="reference internal" href="commands/select.html#select-query"><
|
288
|
+
<p>Here is an example that uses <a class="reference internal" href="commands/select.html#select-filter"><span>filter</span></a> instead of
|
289
|
+
<a class="reference internal" href="commands/select.html#select-query"><span>query</span></a>. It uses the same regular expression as the
|
288
290
|
previous example.</p>
|
289
291
|
<p>Execution example:</p>
|
290
292
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "\\\\Ahost1:"'
|
@@ -326,9 +328,9 @@ previous example.</p>
|
|
326
328
|
# ]
|
327
329
|
</pre></div>
|
328
330
|
</div>
|
329
|
-
<p><
|
331
|
+
<p><code class="docutils literal"><span class="pre">\</span></code> escape will confuse you because there are some steps that
|
330
332
|
require escape between you and Groonga. Here are steps that require
|
331
|
-
<
|
333
|
+
<code class="docutils literal"><span class="pre">\</span></code> escape:</p>
|
332
334
|
<blockquote>
|
333
335
|
<div><ul>
|
334
336
|
<li><p class="first">Shell only when you pass Groonga command from command line the
|
@@ -336,35 +338,35 @@ following:</p>
|
|
336
338
|
<div class="highlight-none"><div class="highlight"><pre>% groonga /tmp/db select Logs --filter '"message @~ \"\\\\Ahost1:"\"'
|
337
339
|
</pre></div>
|
338
340
|
</div>
|
339
|
-
<p><
|
341
|
+
<p><code class="docutils literal"><span class="pre">--filter</span> <span class="pre">'"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""'</span></code> is evaluated as the
|
340
342
|
following two arguments by shell:</p>
|
341
343
|
<blockquote>
|
342
344
|
<div><ul class="simple">
|
343
|
-
<li><
|
344
|
-
<li><
|
345
|
+
<li><code class="docutils literal"><span class="pre">--filter</span></code></li>
|
346
|
+
<li><code class="docutils literal"><span class="pre">"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""</span></code></li>
|
345
347
|
</ul>
|
346
348
|
</div></blockquote>
|
347
349
|
</li>
|
348
350
|
<li><p class="first">Groonga command parser only when you pass Groonga command by
|
349
|
-
command line style (<
|
351
|
+
command line style (<code class="docutils literal"><span class="pre">COMMAND</span> <span class="pre">ARG1_VALUE</span> <span class="pre">ARG2_VALUE</span> <span class="pre">...</span></code>) not
|
350
352
|
HTTP path style
|
351
|
-
(<
|
352
|
-
<p><
|
353
|
+
(<code class="docutils literal"><span class="pre">/d/COMMAND?ARG1_NAME=ARG1_VALUE&ARG2_NAME=ARG3_VALUE</span></code>).</p>
|
354
|
+
<p><code class="docutils literal"><span class="pre">"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""</span></code> is evaluated as the following
|
353
355
|
value by Groonga command parser:</p>
|
354
356
|
<blockquote>
|
355
357
|
<div><ul class="simple">
|
356
|
-
<li><
|
358
|
+
<li><code class="docutils literal"><span class="pre">message</span> <span class="pre">@~</span> <span class="pre">"\\Ahost1:"</span></code></li>
|
357
359
|
</ul>
|
358
360
|
</div></blockquote>
|
359
361
|
</li>
|
360
|
-
<li><p class="first"><a class="reference internal" href="grn_expr.html"><em>grn_expr</em></a> parser. <
|
362
|
+
<li><p class="first"><a class="reference internal" href="grn_expr.html"><em>grn_expr</em></a> parser. <code class="docutils literal"><span class="pre">\</span></code> escape is required in both
|
361
363
|
<a class="reference internal" href="grn_expr/query_syntax.html"><em>Query syntax</em></a> and
|
362
364
|
<a class="reference internal" href="grn_expr/script_syntax.html"><em>Script syntax</em></a>.</p>
|
363
|
-
<p><
|
365
|
+
<p><code class="docutils literal"><span class="pre">"\\Ahost1:"</span></code> string literal in script syntax is evaluated as
|
364
366
|
the following value:</p>
|
365
367
|
<blockquote>
|
366
368
|
<div><ul class="simple">
|
367
|
-
<li><
|
369
|
+
<li><code class="docutils literal"><span class="pre">\Ahost1</span></code></li>
|
368
370
|
</ul>
|
369
371
|
</div></blockquote>
|
370
372
|
<p>The value is evaluated as regular expression.</p>
|
@@ -382,42 +384,42 @@ syntaxes and details.</p>
|
|
382
384
|
<p>In regular expression, there are the following special characters:</p>
|
383
385
|
<blockquote>
|
384
386
|
<div><ul class="simple">
|
385
|
-
<li><
|
386
|
-
<li><
|
387
|
-
<li><
|
388
|
-
<li><
|
389
|
-
<li><
|
390
|
-
<li><
|
391
|
-
<li><
|
392
|
-
<li><
|
393
|
-
<li><
|
394
|
-
<li><
|
395
|
-
<li><
|
396
|
-
<li><
|
397
|
-
<li><
|
398
|
-
<li><
|
387
|
+
<li><code class="docutils literal"><span class="pre">\</span></code></li>
|
388
|
+
<li><code class="docutils literal"><span class="pre">|</span></code></li>
|
389
|
+
<li><code class="docutils literal"><span class="pre">(</span></code></li>
|
390
|
+
<li><code class="docutils literal"><span class="pre">)</span></code></li>
|
391
|
+
<li><code class="docutils literal"><span class="pre">[</span></code></li>
|
392
|
+
<li><code class="docutils literal"><span class="pre">]</span></code></li>
|
393
|
+
<li><code class="docutils literal"><span class="pre">.</span></code></li>
|
394
|
+
<li><code class="docutils literal"><span class="pre">*</span></code></li>
|
395
|
+
<li><code class="docutils literal"><span class="pre">+</span></code></li>
|
396
|
+
<li><code class="docutils literal"><span class="pre">?</span></code></li>
|
397
|
+
<li><code class="docutils literal"><span class="pre">{</span></code></li>
|
398
|
+
<li><code class="docutils literal"><span class="pre">}</span></code></li>
|
399
|
+
<li><code class="docutils literal"><span class="pre">^</span></code></li>
|
400
|
+
<li><code class="docutils literal"><span class="pre">$</span></code></li>
|
399
401
|
</ul>
|
400
402
|
</div></blockquote>
|
401
403
|
<p>If you want to write pattern that matches these special character as
|
402
404
|
is, you need to escape them.</p>
|
403
|
-
<p>You can escape them by putting <
|
405
|
+
<p>You can escape them by putting <code class="docutils literal"><span class="pre">\</span></code> before special character. Here
|
404
406
|
are regular expressions that match special character itself:</p>
|
405
407
|
<blockquote>
|
406
408
|
<div><ul class="simple">
|
407
|
-
<li><
|
408
|
-
<li><
|
409
|
-
<li><
|
410
|
-
<li><
|
411
|
-
<li><
|
412
|
-
<li><
|
413
|
-
<li><
|
414
|
-
<li><
|
415
|
-
<li><
|
416
|
-
<li><
|
417
|
-
<li><
|
418
|
-
<li><
|
419
|
-
<li><
|
420
|
-
<li><
|
409
|
+
<li><code class="docutils literal"><span class="pre">\\</span></code></li>
|
410
|
+
<li><code class="docutils literal"><span class="pre">\|</span></code></li>
|
411
|
+
<li><code class="docutils literal"><span class="pre">\(</span></code></li>
|
412
|
+
<li><code class="docutils literal"><span class="pre">\)</span></code></li>
|
413
|
+
<li><code class="docutils literal"><span class="pre">\[</span></code></li>
|
414
|
+
<li><code class="docutils literal"><span class="pre">\]</span></code></li>
|
415
|
+
<li><code class="docutils literal"><span class="pre">\.</span></code></li>
|
416
|
+
<li><code class="docutils literal"><span class="pre">\*</span></code></li>
|
417
|
+
<li><code class="docutils literal"><span class="pre">\+</span></code></li>
|
418
|
+
<li><code class="docutils literal"><span class="pre">\?</span></code></li>
|
419
|
+
<li><code class="docutils literal"><span class="pre">\{</span></code></li>
|
420
|
+
<li><code class="docutils literal"><span class="pre">\}</span></code></li>
|
421
|
+
<li><code class="docutils literal"><span class="pre">\^</span></code></li>
|
422
|
+
<li><code class="docutils literal"><span class="pre">\$</span></code></li>
|
421
423
|
</ul>
|
422
424
|
</div></blockquote>
|
423
425
|
<p>Execution example:</p>
|
@@ -461,8 +463,8 @@ some special characters are used without escaping.</p>
|
|
461
463
|
</div>
|
462
464
|
<div class="section" id="choice">
|
463
465
|
<span id="regular-expression-choice"></span><h3>7.13.4.2. Choice<a class="headerlink" href="#choice" title="Permalink to this headline">¶</a></h3>
|
464
|
-
<p>Choice syntax is <
|
465
|
-
<
|
466
|
+
<p>Choice syntax is <code class="docutils literal"><span class="pre">A|B</span></code>. The regular expression matches when either
|
467
|
+
<code class="docutils literal"><span class="pre">A</span></code> pattern or <code class="docutils literal"><span class="pre">B</span></code> pattern is matched.</p>
|
466
468
|
<p>Execution example:</p>
|
467
469
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "warning|info"'
|
468
470
|
# [
|
@@ -507,16 +509,16 @@ index.</p>
|
|
507
509
|
</div>
|
508
510
|
<div class="section" id="group">
|
509
511
|
<span id="regular-expression-group"></span><h3>7.13.4.3. Group<a class="headerlink" href="#group" title="Permalink to this headline">¶</a></h3>
|
510
|
-
<p>Group syntax is <
|
512
|
+
<p>Group syntax is <code class="docutils literal"><span class="pre">(...)</span></code>. Group provides the following features:</p>
|
511
513
|
<blockquote>
|
512
514
|
<div><ul class="simple">
|
513
515
|
<li>Back reference</li>
|
514
516
|
<li>Scope reducing</li>
|
515
517
|
</ul>
|
516
518
|
</div></blockquote>
|
517
|
-
<p>You can refer matched groups by <
|
518
|
-
syntax. For example, <
|
519
|
-
is replaced with match result (<
|
519
|
+
<p>You can refer matched groups by <code class="docutils literal"><span class="pre">\n</span></code> (<code class="docutils literal"><span class="pre">n</span></code> is the group number)
|
520
|
+
syntax. For example, <code class="docutils literal"><span class="pre">e(r)\1o\1</span></code> matches <code class="docutils literal"><span class="pre">error</span></code>. Because <code class="docutils literal"><span class="pre">\1</span></code>
|
521
|
+
is replaced with match result (<code class="docutils literal"><span class="pre">r</span></code>) of the first group <code class="docutils literal"><span class="pre">(r)</span></code>.</p>
|
520
522
|
<p>Execution example:</p>
|
521
523
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "e(r)\\\\1o\\\\1"'
|
522
524
|
# [
|
@@ -560,9 +562,9 @@ is replaced with match result (<tt class="docutils literal"><span class="pre">r<
|
|
560
562
|
<p>You can also use more powerful back reference features. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L302">"8. Back
|
561
563
|
reference" section in Onigmo documentation</a> for
|
562
564
|
details.</p>
|
563
|
-
<p>Group syntax reduces scope. For example, <
|
565
|
+
<p>Group syntax reduces scope. For example, <code class="docutils literal"><span class="pre">\[(warning|info)\]</span></code>
|
564
566
|
reduces choice syntax scope. The regular expression matches
|
565
|
-
<
|
567
|
+
<code class="docutils literal"><span class="pre">[warning]</span></code> and <code class="docutils literal"><span class="pre">[info]</span></code>.</p>
|
566
568
|
<p>Execution example:</p>
|
567
569
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "\\\\[(warning|info)\\\\]"'
|
568
570
|
# [
|
@@ -610,9 +612,9 @@ index.</p>
|
|
610
612
|
</div>
|
611
613
|
<div class="section" id="character-class">
|
612
614
|
<span id="regular-expression-character-class"></span><h3>7.13.4.4. Character class<a class="headerlink" href="#character-class" title="Permalink to this headline">¶</a></h3>
|
613
|
-
<p>Character class syntax is <
|
615
|
+
<p>Character class syntax is <code class="docutils literal"><span class="pre">[...]</span></code>. Character class is useful to
|
614
616
|
specify multiple characters to be matched.</p>
|
615
|
-
<p>For example, <
|
617
|
+
<p>For example, <code class="docutils literal"><span class="pre">[Dd]</span></code> matches <code class="docutils literal"><span class="pre">D</span></code> or <code class="docutils literal"><span class="pre">d</span></code>.</p>
|
616
618
|
<p>Execution example:</p>
|
617
619
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "[Dd]isk"'
|
618
620
|
# [
|
@@ -649,7 +651,7 @@ specify multiple characters to be matched.</p>
|
|
649
651
|
# ]
|
650
652
|
</pre></div>
|
651
653
|
</div>
|
652
|
-
<p>You can specify characters by range. For example, <
|
654
|
+
<p>You can specify characters by range. For example, <code class="docutils literal"><span class="pre">[0-9]</span></code> matches
|
653
655
|
one digit.</p>
|
654
656
|
<p>Execution example:</p>
|
655
657
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "[0-9][0-9]%"'
|
@@ -709,25 +711,25 @@ can be evaluated by index.</p>
|
|
709
711
|
</tr>
|
710
712
|
</thead>
|
711
713
|
<tbody valign="top">
|
712
|
-
<tr class="row-even"><td><
|
714
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">^</span></code></td>
|
713
715
|
<td>The beginning of line</td>
|
714
716
|
<td>o</td>
|
715
717
|
</tr>
|
716
|
-
<tr class="row-odd"><td><
|
718
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">$</span></code></td>
|
717
719
|
<td>The end of line</td>
|
718
720
|
<td>x</td>
|
719
721
|
</tr>
|
720
|
-
<tr class="row-even"><td><
|
722
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">\A</span></code></td>
|
721
723
|
<td>The beginning of text</td>
|
722
724
|
<td>o</td>
|
723
725
|
</tr>
|
724
|
-
<tr class="row-odd"><td><
|
726
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">\z</span></code></td>
|
725
727
|
<td>The end of text</td>
|
726
728
|
<td>x</td>
|
727
729
|
</tr>
|
728
730
|
</tbody>
|
729
731
|
</table>
|
730
|
-
<p>Here is an example that uses <
|
732
|
+
<p>Here is an example that uses <code class="docutils literal"><span class="pre">\z</span></code>.</p>
|
731
733
|
<p>Execution example:</p>
|
732
734
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "%\\\\z"'
|
733
735
|
# [
|
@@ -765,7 +767,7 @@ documentation</a> for
|
|
765
767
|
details.</p>
|
766
768
|
<div class="admonition caution">
|
767
769
|
<p class="first admonition-title">Caution</p>
|
768
|
-
<p class="last">Regular expression that uses this syntax except <
|
770
|
+
<p class="last">Regular expression that uses this syntax except <code class="docutils literal"><span class="pre">\A</span></code> and <code class="docutils literal"><span class="pre">\z</span></code>
|
769
771
|
can't be evaluated by index.</p>
|
770
772
|
</div>
|
771
773
|
</div>
|
@@ -783,18 +785,18 @@ can't be evaluated by index.</p>
|
|
783
785
|
</tr>
|
784
786
|
</thead>
|
785
787
|
<tbody valign="top">
|
786
|
-
<tr class="row-even"><td><
|
788
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">?</span></code></td>
|
787
789
|
<td>0 or 1 time</td>
|
788
790
|
</tr>
|
789
|
-
<tr class="row-odd"><td><
|
791
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">*</span></code></td>
|
790
792
|
<td>0 or more times</td>
|
791
793
|
</tr>
|
792
|
-
<tr class="row-even"><td><
|
794
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">+</span></code></td>
|
793
795
|
<td>1 or more times</td>
|
794
796
|
</tr>
|
795
797
|
</tbody>
|
796
798
|
</table>
|
797
|
-
<p>For example, <
|
799
|
+
<p>For example, <code class="docutils literal"><span class="pre">er+or</span></code> matches <code class="docutils literal"><span class="pre">error</span></code>, <code class="docutils literal"><span class="pre">errror</span></code> and so on.</p>
|
798
800
|
<p>Execution example:</p>
|
799
801
|
<div class="highlight-none"><div class="highlight"><pre>select Logs --filter 'message @~ "er+or"'
|
800
802
|
# [
|
@@ -858,7 +860,7 @@ syntaxes.</p>
|
|
858
860
|
</div>
|
859
861
|
</div>
|
860
862
|
</div>
|
861
|
-
<div class="sphinxsidebar">
|
863
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
862
864
|
<div class="sphinxsidebarwrapper">
|
863
865
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
864
866
|
<ul>
|
@@ -886,12 +888,14 @@ syntaxes.</p>
|
|
886
888
|
<h4>Next topic</h4>
|
887
889
|
<p class="topless"><a href="function.html"
|
888
890
|
title="next chapter">7.14. Function</a></p>
|
889
|
-
<
|
890
|
-
|
891
|
-
<
|
892
|
-
|
893
|
-
|
894
|
-
|
891
|
+
<div role="note" aria-label="source link">
|
892
|
+
<h3>This Page</h3>
|
893
|
+
<ul class="this-page-menu">
|
894
|
+
<li><a href="../_sources/reference/regular_expression.txt"
|
895
|
+
rel="nofollow">Show Source</a></li>
|
896
|
+
</ul>
|
897
|
+
</div>
|
898
|
+
<div id="searchbox" style="display: none" role="search">
|
895
899
|
<h3>Quick search</h3>
|
896
900
|
<form class="search" action="../search.html" method="get">
|
897
901
|
<input type="text" name="q" />
|
@@ -908,7 +912,7 @@ syntaxes.</p>
|
|
908
912
|
</div>
|
909
913
|
<div class="clearer"></div>
|
910
914
|
</div>
|
911
|
-
<div class="related">
|
915
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
912
916
|
<h3>Navigation</h3>
|
913
917
|
<ul>
|
914
918
|
<li class="right" style="margin-right: 10px">
|
@@ -920,11 +924,11 @@ syntaxes.</p>
|
|
920
924
|
<li class="right" >
|
921
925
|
<a href="grn_expr/script_syntax.html" title="7.12.2. Script syntax"
|
922
926
|
>previous</a> |</li>
|
923
|
-
<li><a href="../index.html">Groonga v5.0.
|
924
|
-
<li><a href="../reference.html" >7. Reference manual</a> »</li>
|
927
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
928
|
+
<li class="nav-item nav-item-1"><a href="../reference.html" >7. Reference manual</a> »</li>
|
925
929
|
</ul>
|
926
930
|
</div>
|
927
|
-
<div class="footer">
|
931
|
+
<div class="footer" role="contentinfo">
|
928
932
|
© Copyright 2009-2015, Brazil, Inc.
|
929
933
|
</div>
|
930
934
|
</body>
|