rroonga 6.0.0-x86-mingw32 → 6.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +38 -1
- data/ext/groonga/extconf.rb +14 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +18 -1
- data/ext/groonga/rb-grn-expression.c +0 -8
- data/ext/groonga/rb-grn-hash.c +15 -3
- data/ext/groonga/rb-grn-logger.c +22 -22
- data/ext/groonga/rb-grn-object.c +28 -6
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-request-canceler.c +164 -0
- data/ext/groonga/rb-grn-request-timer-id.c +64 -0
- data/ext/groonga/rb-grn-request-timer.c +155 -0
- data/ext/groonga/rb-grn-type.c +43 -1
- data/ext/groonga/rb-grn.h +17 -5
- data/ext/groonga/rb-groonga.c +3 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +4 -13
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -2
- data/test/run-test.rb +2 -2
- data/test/test-expression-builder.rb +13 -1
- data/test/test-hash.rb +22 -3
- data/test/test-request-canceler.rb +46 -0
- data/test/test-request-timer.rb +40 -0
- data/test/test-table.rb +43 -7
- data/test/test-type.rb +104 -2
- 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/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.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/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +8 -0
- data/vendor/local/include/groonga/groonga/dump.h +1 -1
- data/vendor/local/include/groonga/groonga/expr.h +1 -2
- data/vendor/local/include/groonga/groonga/groonga.h +18 -5
- data/vendor/local/include/groonga/groonga/obj.h +1 -0
- data/vendor/local/include/groonga/groonga/plugin.h +9 -0
- data/vendor/local/include/groonga/groonga/portability.h +8 -0
- data/vendor/local/include/groonga/groonga/request_canceler.h +1 -0
- data/vendor/local/include/groonga/groonga/request_timer.h +53 -0
- data/vendor/local/include/groonga/groonga/type.h +9 -0
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +131 -22
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -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/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/ruby/eval.rb +36 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +8 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +43 -8
- 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/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/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/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/scripts/ruby/command_line/grndb.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +11 -25
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +67 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +50 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +33 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +92 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +35 -6
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/liblz4.a +0 -0
- 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/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd.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/release.txt +10 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +19 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +17 -51
- 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 +13 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +9 -7
- 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 +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +4 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +224 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +78 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +6 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +1 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +4 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +1 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +383 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +84 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +41 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +10 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +49 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
- 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 +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +9 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/client.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +31 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +40 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +15 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/genindex.html +21 -9
- data/vendor/local/share/doc/groonga/en/html/index.html +74 -77
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -18
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +28 -72
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +19 -13
- data/vendor/local/share/doc/groonga/en/html/install/others.html +25 -26
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -12
- data/vendor/local/share/doc/groonga/en/html/limitations.html +10 -12
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -27
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +25 -28
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +36 -39
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +81 -84
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +19 -22
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +208 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +66 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +50 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +35 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +45 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +57 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +39 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +46 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +59 -66
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +155 -162
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +465 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +119 -122
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +39 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +28 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +31 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +40 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +93 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +184 -187
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +114 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +46 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +42 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +101 -79
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +126 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +54 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +50 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +28 -31
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +16 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +19 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +421 -121
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +67 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +21 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +23 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +21 -24
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +19 -26
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +15 -18
- data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/package.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/spec.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +10 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +19 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +17 -51
- 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 +13 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +9 -7
- 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 +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +4 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +224 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +78 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +6 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +1 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +4 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +1 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +383 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +84 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +41 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +49 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
- 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 +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/client.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +31 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +41 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -32
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -21
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +21 -9
- data/vendor/local/share/doc/groonga/ja/html/index.html +76 -79
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -18
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -67
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +19 -13
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -24
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -12
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -27
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +25 -28
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +71 -74
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +20 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +21 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +15 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +193 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +32 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +66 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +48 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +42 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +42 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +44 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +55 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +46 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +59 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +137 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +419 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +43 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +117 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +39 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +91 -94
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +172 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +104 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +44 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +42 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +95 -79
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +116 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +54 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +50 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +397 -127
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +97 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +19 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +22 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +16 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -9
- metadata +72 -76
- 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 +0 -41
- 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 +0 -41
- data/vendor/local/share/man/ja/man1/groonga.1 +0 -52774
- data/vendor/local/share/man/man1/groonga.1 +0 -55612
@@ -3,11 +3,11 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
|
5
5
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.3. Various data types — Groonga
|
10
|
+
<title>4.3. Various data types — Groonga v6.0.2 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: '
|
18
|
+
VERSION: '6.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
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
|
28
|
+
<link rel="top" title="Groonga v6.0.2 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.4. Various search conditions" href="search.html" />
|
31
31
|
<link rel="prev" title="4.2. Remote access" href="network.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="network.html" title="4.2. Remote access"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
63
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
64
64
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -75,7 +75,7 @@
|
|
75
75
|
<p>Groonga is a full text search engine but also serves as a column-oriented data store. Groonga supports various data types, such as numeric types, string types, date and time type, longitude and latitude types, etc. This tutorial shows a list of data types and explains how to use them.</p>
|
76
76
|
<div class="section" id="overview">
|
77
77
|
<h2>4.3.1. Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
|
78
|
-
<p>The basic data types of Groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see <a class="reference internal" href="../reference/types.html"><
|
78
|
+
<p>The basic data types of Groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see <a class="reference internal" href="../reference/types.html"><span class="doc">Data types</span></a>.</p>
|
79
79
|
<p>In addition, Groonga supports reference types and vector types. Reference types are designed for accessing other tables. Vector types are designed for storing a variable number of values in one element.</p>
|
80
80
|
<p>First, let's create a table for this tutorial.</p>
|
81
81
|
<p>Execution example:</p>
|
@@ -86,7 +86,7 @@
|
|
86
86
|
</div>
|
87
87
|
<div class="section" id="boolean-type">
|
88
88
|
<h2>4.3.2. Boolean type<a class="headerlink" href="#boolean-type" title="Permalink to this headline">¶</a></h2>
|
89
|
-
<p>The boolean type is used to store true or false. To create a boolean type column, specify Bool to the <cite>type</cite> parameter of <a class="reference internal" href="../reference/commands/column_create.html"><
|
89
|
+
<p>The boolean type is used to store true or false. To create a boolean type column, specify Bool to the <cite>type</cite> parameter of <a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a> command. The default value of the boolean type is false.</p>
|
90
90
|
<p>The following example creates a boolean type column and adds three records. Note that the third record has the default value because no value is specified.</p>
|
91
91
|
<p>Execution example:</p>
|
92
92
|
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create --table ToyBox --name is_animal --type Bool
|
@@ -140,8 +140,8 @@ select --table ToyBox --output_columns _key,is_animal
|
|
140
140
|
</div>
|
141
141
|
<div class="section" id="numeric-types">
|
142
142
|
<h2>4.3.3. Numeric types<a class="headerlink" href="#numeric-types" title="Permalink to this headline">¶</a></h2>
|
143
|
-
<p>The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see <a class="reference internal" href="../reference/types.html"><
|
144
|
-
<p>The following example creates an Int8 column and a Float column, and then updates existing records. The <a class="reference internal" href="../reference/commands/load.html"><
|
143
|
+
<p>The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see <a class="reference internal" href="../reference/types.html"><span class="doc">Data types</span></a>. The default value of the numeric types is 0.</p>
|
144
|
+
<p>The following example creates an Int8 column and a Float column, and then updates existing records. The <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a> command updates the weight column as expected. On the other hand, the price column values are different from the specified values because 15.9 is not an integer and 200 is too large. 15.9 is converted to 15 by removing the fractional part. 200 causes an overflow and the result becomes -56. Note that the result of an overflow/underflow is undefined.</p>
|
145
145
|
<p>Execution example:</p>
|
146
146
|
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create --table ToyBox --name price --type Int8
|
147
147
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -203,7 +203,7 @@ select --table ToyBox --output_columns _key,price,weight
|
|
203
203
|
</div>
|
204
204
|
<div class="section" id="string-types">
|
205
205
|
<h2>4.3.4. String types<a class="headerlink" href="#string-types" title="Permalink to this headline">¶</a></h2>
|
206
|
-
<p>The string types are divided according to the maximum length. For more details, see <a class="reference internal" href="../reference/types.html"><
|
206
|
+
<p>The string types are divided according to the maximum length. For more details, see <a class="reference internal" href="../reference/types.html"><span class="doc">Data types</span></a>. The default value is the zero-length string.</p>
|
207
207
|
<p>The following example creates a <code class="docutils literal"><span class="pre">ShortText</span></code> column and updates
|
208
208
|
existing records. The third record (<code class="docutils literal"><span class="pre">"Block"</span></code> key record) has the
|
209
209
|
default value (zero-length string) because it's not updated.</p>
|
@@ -258,7 +258,7 @@ select --table ToyBox --output_columns _key,name
|
|
258
258
|
</div>
|
259
259
|
<div class="section" id="date-and-time-type">
|
260
260
|
<h2>4.3.5. Date and time type<a class="headerlink" href="#date-and-time-type" title="Permalink to this headline">¶</a></h2>
|
261
|
-
<p>The date and time type of Groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that <a class="reference internal" href="../reference/commands/load.html"><
|
261
|
+
<p>The date and time type of Groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a> and <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> commands use a decimal number to represent a data and time in seconds. The default value is 0.0, which means the Epoch.</p>
|
262
262
|
<div class="admonition note">
|
263
263
|
<p class="first admonition-title">Note</p>
|
264
264
|
<p class="last">Groonga internally holds the value of Epoch as pair of integer. The first integer represents the value of seconds, on the other hand, the second integer represents the value of micro seconds.
|
@@ -318,7 +318,7 @@ select --table ToyBox --output_columns _key,time
|
|
318
318
|
</div>
|
319
319
|
<div class="section" id="longitude-and-latitude-types">
|
320
320
|
<h2>4.3.6. Longitude and latitude types<a class="headerlink" href="#longitude-and-latitude-types" title="Permalink to this headline">¶</a></h2>
|
321
|
-
<p>The longitude and latitude types are divided according to the geographic coordinate system. For more details, see <a class="reference internal" href="../reference/types.html"><
|
321
|
+
<p>The longitude and latitude types are divided according to the geographic coordinate system. For more details, see <a class="reference internal" href="../reference/types.html"><span class="doc">Data types</span></a>. To represent a longitude and latitude, Groonga uses a string formatted as follows:</p>
|
322
322
|
<ul class="simple">
|
323
323
|
<li>"longitude x latitude" in milliseconds (e.g.: "128452975x503157902")</li>
|
324
324
|
<li>"longitude x latitude" in degrees (e.g.: "35.6813819x139.7660839")</li>
|
@@ -379,9 +379,9 @@ select --table ToyBox --output_columns _key,location
|
|
379
379
|
<div class="section" id="reference-types">
|
380
380
|
<h2>4.3.7. Reference types<a class="headerlink" href="#reference-types" title="Permalink to this headline">¶</a></h2>
|
381
381
|
<p>Groonga supports a reference column, which stores references to records in its associated table. In practice, a reference column stores the IDs of the referred records in the associated table and enables access to those records.</p>
|
382
|
-
<p>You can specify a column in the associated table to the <code class="docutils literal"><span class="pre">output_columns</span></code> parameter of a <a class="reference internal" href="../reference/commands/select.html"><
|
382
|
+
<p>You can specify a column in the associated table to the <code class="docutils literal"><span class="pre">output_columns</span></code> parameter of a <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command. The format is <code class="docutils literal"><span class="pre">Src.Dest</span></code> where Src is the name of the reference column and Dest is the name of the target column. If only the reference column is specified, it is handled as <code class="docutils literal"><span class="pre">Src._key</span></code>. Note that if a reference does not point to a valid record, a <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command outputs the default value of the target column.</p>
|
383
383
|
<p>The following example adds a reference column to the <code class="docutils literal"><span class="pre">Site</span></code> table
|
384
|
-
that was created in <a class="reference internal" href="introduction.html#tutorial-introduction-create-table"><span>Create a table</span></a>. The new
|
384
|
+
that was created in <a class="reference internal" href="introduction.html#tutorial-introduction-create-table"><span class="std std-ref">Create a table</span></a>. The new
|
385
385
|
column, named <code class="docutils literal"><span class="pre">link</span></code>, is designed for storing links among records in
|
386
386
|
the <code class="docutils literal"><span class="pre">Site</span></code> table.</p>
|
387
387
|
<p>Execution example:</p>
|
@@ -433,11 +433,11 @@ select --table Site --output_columns _key,title,link._key,link.title --query tit
|
|
433
433
|
# ]
|
434
434
|
</pre></div>
|
435
435
|
</div>
|
436
|
-
<p>The <cite>type</cite> parameter of the <a class="reference internal" href="../reference/commands/column_create.html"><
|
436
|
+
<p>The <cite>type</cite> parameter of the <a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a> command specifies the table to be associated with the reference column. In this example, the reference column is associated with the own table. Then, the <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a> command registers a link from "<a class="reference external" href="http://example.org">http://example.org</a>" to "<a class="reference external" href="http://example.net">http://example.net</a>". Note that a reference column requires the primary key, not the ID, of the record to be referred to. After that, the link is confirmed by the <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command. In this case, the primary key and the title of the referred record are output because link._key and link.title are specified to the <cite>output_columns</cite> parameter.</p>
|
437
437
|
</div>
|
438
438
|
<div class="section" id="vector-types">
|
439
439
|
<h2>4.3.8. Vector types<a class="headerlink" href="#vector-types" title="Permalink to this headline">¶</a></h2>
|
440
|
-
<p>Groonga supports a vector column, in which each element can store a variable number of values. To create a vector column, specify the COLUMN_VECTOR flag to the <cite>flags</cite> parameter of a <a class="reference internal" href="../reference/commands/column_create.html"><
|
440
|
+
<p>Groonga supports a vector column, in which each element can store a variable number of values. To create a vector column, specify the COLUMN_VECTOR flag to the <cite>flags</cite> parameter of a <a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a> command. A vector column is useful to represent a many-to-many relationship.</p>
|
441
441
|
<p>The previous example used a regular column, so each record could have at most one link. Obviously, the specification is insufficient because a site usually has more than one links. To solve this problem, the following example uses a vector column.</p>
|
442
442
|
<p>Execution example:</p>
|
443
443
|
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create --table Site --name links --flags COLUMN_VECTOR --type Site
|
@@ -496,7 +496,7 @@ select --table Site --output_columns _key,title,links._key,links.title --query t
|
|
496
496
|
# ]
|
497
497
|
</pre></div>
|
498
498
|
</div>
|
499
|
-
<p>The only difference at the first step is the <cite>flags</cite> parameter that specifies to create a vector column. The <cite>type</cite> parameter of the <a class="reference internal" href="../reference/commands/column_create.html"><
|
499
|
+
<p>The only difference at the first step is the <cite>flags</cite> parameter that specifies to create a vector column. The <cite>type</cite> parameter of the <a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a> command is the same as in the previous example. Then, the <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a> command registers three links from "<a class="reference external" href="http://example.org/">http://example.org/</a>" to "<a class="reference external" href="http://example.net/">http://example.net/</a>", "<a class="reference external" href="http://example.org/">http://example.org/</a>" and "<a class="reference external" href="http://example.com/">http://example.com/</a>". After that, the links are confirmed by the <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command. In this case, the primary keys and the titles are output as arrays because links._key and links.title are specified to the <cite>output_columns</cite> parameter.</p>
|
500
500
|
</div>
|
501
501
|
</div>
|
502
502
|
|
@@ -542,9 +542,6 @@ select --table Site --output_columns _key,title,links._key,links.title --query t
|
|
542
542
|
<input type="hidden" name="check_keywords" value="yes" />
|
543
543
|
<input type="hidden" name="area" value="default" />
|
544
544
|
</form>
|
545
|
-
<p class="searchtip" style="font-size: 90%">
|
546
|
-
Enter search terms or a module, class or function name.
|
547
|
-
</p>
|
548
545
|
</div>
|
549
546
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
550
547
|
</div>
|
@@ -563,7 +560,7 @@ select --table Site --output_columns _key,title,links._key,links.title --query t
|
|
563
560
|
<li class="right" >
|
564
561
|
<a href="network.html" title="4.2. Remote access"
|
565
562
|
>previous</a> |</li>
|
566
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
563
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
567
564
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
568
565
|
</ul>
|
569
566
|
</div>
|
@@ -3,11 +3,11 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
|
5
5
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.5. Drilldown — Groonga
|
10
|
+
<title>4.5. Drilldown — Groonga v6.0.2 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: '
|
18
|
+
VERSION: '6.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
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
|
28
|
+
<link rel="top" title="Groonga v6.0.2 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.6. Tag search and reverse resolution of reference relationships" href="index.html" />
|
31
31
|
<link rel="prev" title="4.4. Various search conditions" href="search.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="search.html" title="4.4. Various search conditions"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
63
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
64
64
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -729,9 +729,6 @@ If you drilldown to string type of column, create the table that type of primary
|
|
729
729
|
<input type="hidden" name="check_keywords" value="yes" />
|
730
730
|
<input type="hidden" name="area" value="default" />
|
731
731
|
</form>
|
732
|
-
<p class="searchtip" style="font-size: 90%">
|
733
|
-
Enter search terms or a module, class or function name.
|
734
|
-
</p>
|
735
732
|
</div>
|
736
733
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
737
734
|
</div>
|
@@ -750,7 +747,7 @@ If you drilldown to string type of column, create the table that type of primary
|
|
750
747
|
<li class="right" >
|
751
748
|
<a href="search.html" title="4.4. Various search conditions"
|
752
749
|
>previous</a> |</li>
|
753
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
750
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
754
751
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
755
752
|
</ul>
|
756
753
|
</div>
|
@@ -3,11 +3,11 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
|
5
5
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.6. Tag search and reverse resolution of reference relationships — Groonga
|
10
|
+
<title>4.6. Tag search and reverse resolution of reference relationships — Groonga v6.0.2 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: '
|
18
|
+
VERSION: '6.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
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
|
28
|
+
<link rel="top" title="Groonga v6.0.2 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.7. match_columns parameter" href="match_columns.html" />
|
31
31
|
<link rel="prev" title="4.5. Drilldown" href="drilldown.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="drilldown.html" title="4.5. Drilldown"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
63
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
64
64
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -543,9 +543,6 @@ select --table GeoSite --filter 'geo_in_circle(location, "128515259x503
|
|
543
543
|
<input type="hidden" name="check_keywords" value="yes" />
|
544
544
|
<input type="hidden" name="area" value="default" />
|
545
545
|
</form>
|
546
|
-
<p class="searchtip" style="font-size: 90%">
|
547
|
-
Enter search terms or a module, class or function name.
|
548
|
-
</p>
|
549
546
|
</div>
|
550
547
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
551
548
|
</div>
|
@@ -564,7 +561,7 @@ select --table GeoSite --filter 'geo_in_circle(location, "128515259x503
|
|
564
561
|
<li class="right" >
|
565
562
|
<a href="drilldown.html" title="4.5. Drilldown"
|
566
563
|
>previous</a> |</li>
|
567
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
564
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
568
565
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
569
566
|
</ul>
|
570
567
|
</div>
|
@@ -3,11 +3,11 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
|
5
5
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.1. Basic operations — Groonga
|
10
|
+
<title>4.1. Basic operations — Groonga v6.0.2 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: '
|
18
|
+
VERSION: '6.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
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
|
28
|
+
<link rel="top" title="Groonga v6.0.2 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.2. Remote access" href="network.html" />
|
31
31
|
<link rel="prev" title="4. Tutorial" href="../tutorial.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="../tutorial.html" title="4. Tutorial"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
63
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
64
64
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</div>
|
98
98
|
<p>DB_PATH specifies the path of a target database. This command fails if the specified database does not exist.</p>
|
99
99
|
<p>If COMMAND is specified, Groonga executes COMMAND and returns the result. Otherwise, Groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode.</p>
|
100
|
-
<p>Let's see the status of a Groonga process by using a <a class="reference internal" href="../reference/commands/status.html"><
|
100
|
+
<p>Let's see the status of a Groonga process by using a <a class="reference internal" href="../reference/commands/status.html"><span class="doc">status</span></a> command.</p>
|
101
101
|
<p>Execution example:</p>
|
102
102
|
<div class="highlight-none"><div class="highlight"><pre><span></span>% groonga /tmp/groonga-databases/introduction.db
|
103
103
|
status
|
@@ -138,34 +138,34 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
138
138
|
<p>In the first form, arguments must be passed in order. This kind of arguments are called positional arguments because the position of each argument determines its meaning.</p>
|
139
139
|
<p>In the second form, you can specify a parameter name with its value. So, the order of arguments is not defined. This kind of arguments are known as named parameters or keyword arguments.</p>
|
140
140
|
<p>If you want to specify a value which contains white-spaces or special characters, such as quotes and parentheses, please enclose the value with single-quotes or double-quotes.</p>
|
141
|
-
<p>For details, see also the paragraph of "command" in <a class="reference internal" href="../reference/executables/groonga.html"><
|
141
|
+
<p>For details, see also the paragraph of "command" in <a class="reference internal" href="../reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>.</p>
|
142
142
|
</div>
|
143
143
|
<div class="section" id="basic-commands">
|
144
144
|
<h2>4.1.4. Basic commands<a class="headerlink" href="#basic-commands" title="Permalink to this headline">¶</a></h2>
|
145
145
|
<blockquote>
|
146
146
|
<div><dl class="docutils">
|
147
|
-
<dt><a class="reference internal" href="../reference/commands/status.html"><
|
147
|
+
<dt><a class="reference internal" href="../reference/commands/status.html"><span class="doc">status</span></a></dt>
|
148
148
|
<dd>shows status of a Groonga process.</dd>
|
149
|
-
<dt><a class="reference internal" href="../reference/commands/table_list.html"><
|
149
|
+
<dt><a class="reference internal" href="../reference/commands/table_list.html"><span class="doc">table_list</span></a></dt>
|
150
150
|
<dd>shows a list of tables in a database.</dd>
|
151
|
-
<dt><a class="reference internal" href="../reference/commands/column_list.html"><
|
151
|
+
<dt><a class="reference internal" href="../reference/commands/column_list.html"><span class="doc">column_list</span></a></dt>
|
152
152
|
<dd>shows a list of columns in a table.</dd>
|
153
|
-
<dt><a class="reference internal" href="../reference/commands/table_create.html"><
|
153
|
+
<dt><a class="reference internal" href="../reference/commands/table_create.html"><span class="doc">table_create</span></a></dt>
|
154
154
|
<dd>adds a table to a database.</dd>
|
155
|
-
<dt><a class="reference internal" href="../reference/commands/column_create.html"><
|
155
|
+
<dt><a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a></dt>
|
156
156
|
<dd>adds a column to a table.</dd>
|
157
|
-
<dt><a class="reference internal" href="../reference/commands/select.html"><
|
157
|
+
<dt><a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a></dt>
|
158
158
|
<dd>searches records from a table and shows the result.</dd>
|
159
|
-
<dt><a class="reference internal" href="../reference/commands/load.html"><
|
159
|
+
<dt><a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a></dt>
|
160
160
|
<dd>inserts records to a table.</dd>
|
161
161
|
</dl>
|
162
162
|
</div></blockquote>
|
163
163
|
</div>
|
164
164
|
<div class="section" id="create-a-table">
|
165
165
|
<span id="tutorial-introduction-create-table"></span><h2>4.1.5. Create a table<a class="headerlink" href="#create-a-table" title="Permalink to this headline">¶</a></h2>
|
166
|
-
<p>A <a class="reference internal" href="../reference/commands/table_create.html"><
|
166
|
+
<p>A <a class="reference internal" href="../reference/commands/table_create.html"><span class="doc">table_create</span></a> command creates a new table.</p>
|
167
167
|
<p>In most cases, a table has a primary key which must be specified with its data type and index type.</p>
|
168
|
-
<p>There are various data types such as integers, strings, etc. See also <a class="reference internal" href="../reference/types.html"><
|
168
|
+
<p>There are various data types such as integers, strings, etc. See also <a class="reference internal" href="../reference/types.html"><span class="doc">Data types</span></a> for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.</p>
|
169
169
|
<p>Let's create a table. The following example creates a table with a primary key. The <code class="docutils literal"><span class="pre">name</span></code> parameter specifies the name of the table. The <code class="docutils literal"><span class="pre">flags</span></code> parameter specifies the index type for the primary key. The <code class="docutils literal"><span class="pre">key_type</span></code> parameter specifies the data type of the primary key.</p>
|
170
170
|
<p>Execution example:</p>
|
171
171
|
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
|
@@ -176,7 +176,7 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
176
176
|
</div>
|
177
177
|
<div class="section" id="view-a-table">
|
178
178
|
<h2>4.1.6. View a table<a class="headerlink" href="#view-a-table" title="Permalink to this headline">¶</a></h2>
|
179
|
-
<p>A <a class="reference internal" href="../reference/commands/select.html"><
|
179
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command can enumerate records in a table.</p>
|
180
180
|
<p>Execution example:</p>
|
181
181
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Site
|
182
182
|
# [
|
@@ -205,12 +205,12 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
205
205
|
# ]
|
206
206
|
</pre></div>
|
207
207
|
</div>
|
208
|
-
<p>When only a table name is specified with a <code class="docutils literal"><span class="pre">table</span></code> parameter, a <a class="reference internal" href="../reference/commands/select.html"><
|
208
|
+
<p>When only a table name is specified with a <code class="docutils literal"><span class="pre">table</span></code> parameter, a <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. ["_id","Uint32"] is a column of UInt32, named _id. ["_key","ShortText"] is a column of ShortText, named _key.</p>
|
209
209
|
<p>The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by Groonga. The _key column is associated with the primary key. You are not allowed to rename these columns.</p>
|
210
210
|
</div>
|
211
211
|
<div class="section" id="create-a-column">
|
212
212
|
<h2>4.1.7. Create a column<a class="headerlink" href="#create-a-column" title="Permalink to this headline">¶</a></h2>
|
213
|
-
<p>A <a class="reference internal" href="../reference/commands/column_create.html"><
|
213
|
+
<p>A <a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a> command creates a new column.</p>
|
214
214
|
<p>Let's add a column. The following example adds a column to the Site table. The <code class="docutils literal"><span class="pre">table</span></code> parameter specifies the target table. The <code class="docutils literal"><span class="pre">name</span></code> parameter specifies the name of the column. The <code class="docutils literal"><span class="pre">type</span></code> parameter specifies the data type of the column.</p>
|
215
215
|
<p>Execution example:</p>
|
216
216
|
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create --table Site --name title --type ShortText
|
@@ -249,7 +249,7 @@ select --table Site
|
|
249
249
|
</div>
|
250
250
|
<div class="section" id="load-records">
|
251
251
|
<h2>4.1.8. Load records<a class="headerlink" href="#load-records" title="Permalink to this headline">¶</a></h2>
|
252
|
-
<p>A <a class="reference internal" href="../reference/commands/load.html"><
|
252
|
+
<p>A <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a> command loads JSON-formatted records into a table.</p>
|
253
253
|
<p>The following example loads nine records into the Site table.</p>
|
254
254
|
<p>Execution example:</p>
|
255
255
|
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Site
|
@@ -349,8 +349,8 @@ select --table Site
|
|
349
349
|
</div>
|
350
350
|
<div class="section" id="get-a-record">
|
351
351
|
<h2>4.1.9. Get a record<a class="headerlink" href="#get-a-record" title="Permalink to this headline">¶</a></h2>
|
352
|
-
<p>A <a class="reference internal" href="../reference/commands/select.html"><
|
353
|
-
<p>If a search condition is specified with a <code class="docutils literal"><span class="pre">query</span></code> parameter, a <a class="reference internal" href="../reference/commands/select.html"><
|
352
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command can search records in a table.</p>
|
353
|
+
<p>If a search condition is specified with a <code class="docutils literal"><span class="pre">query</span></code> parameter, a <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command searches records matching the search condition and returns the matched records.</p>
|
354
354
|
<p>Let's get a record having a specified record ID. The following example gets the first record in the Site table. More precisely, the <code class="docutils literal"><span class="pre">query</span></code> parameter specifies a record whose _id column stores 1.</p>
|
355
355
|
<p>Execution example:</p>
|
356
356
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Site --query _id:1
|
@@ -438,7 +438,7 @@ select --table Site
|
|
438
438
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
439
439
|
</pre></div>
|
440
440
|
</div>
|
441
|
-
<p>The <a class="reference internal" href="../reference/commands/table_create.html"><
|
441
|
+
<p>The <a class="reference internal" href="../reference/commands/table_create.html"><span class="doc">table_create</span></a> command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works.</p>
|
442
442
|
<p>The TABLE_PAT_KEY flag specifies to store index terms in a patricia trie. The <code class="docutils literal"><span class="pre">default_tokenizer</span></code> parameter specifies the method for tokenizing text. This example uses TokenBigram that is generally called N-gram.</p>
|
443
443
|
<p>The <code class="docutils literal"><span class="pre">normalizer</span></code> parameter specifies to normalize index terms.</p>
|
444
444
|
</div>
|
@@ -459,7 +459,7 @@ select --table Site
|
|
459
459
|
</div>
|
460
460
|
<div class="section" id="full-text-search">
|
461
461
|
<h2>4.1.12. Full text search<a class="headerlink" href="#full-text-search" title="Permalink to this headline">¶</a></h2>
|
462
|
-
<p>It's time. You can make full text search with a <a class="reference internal" href="../reference/commands/select.html"><
|
462
|
+
<p>It's time. You can make full text search with a <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command.</p>
|
463
463
|
<p>A query for full text search is specified with a <code class="docutils literal"><span class="pre">query</span></code> parameter. The following example searches records whose "title" column contains "this". The '@' specifies to make full text search. Note that a lower case query matches upper case and capitalized terms in a record if NormalizerAuto was specified when creating a lexcon table.</p>
|
464
464
|
<p>Execution example:</p>
|
465
465
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Site --query title:@this
|
@@ -499,7 +499,7 @@ select --table Site
|
|
499
499
|
</pre></div>
|
500
500
|
</div>
|
501
501
|
<p>In this example, the first record matches the query because its title contains "This", that is the capitalized form of the query.</p>
|
502
|
-
<p>A <a class="reference internal" href="../reference/commands/select.html"><
|
502
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command accepts an optional parameter, named <cite>match_columns</cite>, that specifies the default target columns. This parameter is used if target columns are not specified in a query. <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
|
503
503
|
<p>The combination of "<cite>--match_columns</cite> title" and "<cite>--query</cite> this" brings you the same result that "<cite>--query</cite> title:@this" does.</p>
|
504
504
|
<p>Execution example:</p>
|
505
505
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Site --match_columns title --query this
|
@@ -541,7 +541,7 @@ select --table Site
|
|
541
541
|
</div>
|
542
542
|
<div class="section" id="specify-output-columns">
|
543
543
|
<h2>4.1.13. Specify output columns<a class="headerlink" href="#specify-output-columns" title="Permalink to this headline">¶</a></h2>
|
544
|
-
<p>An <code class="docutils literal"><span class="pre">output_columns</span></code> parameter of a <a class="reference internal" href="../reference/commands/select.html"><
|
544
|
+
<p>An <code class="docutils literal"><span class="pre">output_columns</span></code> parameter of a <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command specifies columns to appear in the search result. If you want to specify more than one columns, please separate column names by commas (',').</p>
|
545
545
|
<p>Execution example:</p>
|
546
546
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Site --output_columns _key,title,_score --query title:@test
|
547
547
|
# [
|
@@ -623,7 +623,7 @@ select --table Site
|
|
623
623
|
</div>
|
624
624
|
<div class="section" id="specify-output-ranges">
|
625
625
|
<h2>4.1.14. Specify output ranges<a class="headerlink" href="#specify-output-ranges" title="Permalink to this headline">¶</a></h2>
|
626
|
-
<p>A <a class="reference internal" href="../reference/commands/select.html"><
|
626
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command returns a part of its search result if <code class="docutils literal"><span class="pre">offset</span></code> and/or <code class="docutils literal"><span class="pre">limit</span></code> parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis.</p>
|
627
627
|
<p>An <code class="docutils literal"><span class="pre">offset</span></code> parameter specifies the starting point and a <code class="docutils literal"><span class="pre">limit</span></code> parameter specifies the maximum number of records to be returned. If you need the first record in a search result, the offset parameter must be 0 or omitted.</p>
|
628
628
|
<p>Execution example:</p>
|
629
629
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Site --offset 0 --limit 3
|
@@ -758,7 +758,7 @@ select --table Site --offset 7 --limit 3
|
|
758
758
|
</div>
|
759
759
|
<div class="section" id="sort-a-search-result">
|
760
760
|
<h2>4.1.15. Sort a search result<a class="headerlink" href="#sort-a-search-result" title="Permalink to this headline">¶</a></h2>
|
761
|
-
<p>A <a class="reference internal" href="../reference/commands/select.html"><
|
761
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a> command sorts its result when used with a <code class="docutils literal"><span class="pre">sortby</span></code> parameter.</p>
|
762
762
|
<p>A <code class="docutils literal"><span class="pre">sortby</span></code> parameter specifies a column as a sorting creteria. A search result is arranged in ascending order of the column values. If you want to sort a search result in reverse order, please add a leading hyphen ('-') to the column name in a parameter.</p>
|
763
763
|
<p>The following example shows records in the Site table in reverse order.</p>
|
764
764
|
<p>Execution example:</p>
|
@@ -1053,9 +1053,6 @@ select --table Site --offset 7 --limit 3
|
|
1053
1053
|
<input type="hidden" name="check_keywords" value="yes" />
|
1054
1054
|
<input type="hidden" name="area" value="default" />
|
1055
1055
|
</form>
|
1056
|
-
<p class="searchtip" style="font-size: 90%">
|
1057
|
-
Enter search terms or a module, class or function name.
|
1058
|
-
</p>
|
1059
1056
|
</div>
|
1060
1057
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1061
1058
|
</div>
|
@@ -1074,7 +1071,7 @@ select --table Site --offset 7 --limit 3
|
|
1074
1071
|
<li class="right" >
|
1075
1072
|
<a href="../tutorial.html" title="4. Tutorial"
|
1076
1073
|
>previous</a> |</li>
|
1077
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
1074
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
1078
1075
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
1079
1076
|
</ul>
|
1080
1077
|
</div>
|
@@ -3,11 +3,11 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
|
5
5
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.9. Additional information about lexicon for full text search — Groonga
|
10
|
+
<title>4.9. Additional information about lexicon for full text search — Groonga v6.0.2 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: '
|
18
|
+
VERSION: '6.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
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
|
28
|
+
<link rel="top" title="Groonga v6.0.2 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.10. Let's create micro-blog" href="micro_blog.html" />
|
31
31
|
<link rel="prev" title="4.8. Prefix search with patricia trie" href="patricia_trie.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="patricia_trie.html" title="4.8. Prefix search with patricia trie"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
63
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
64
64
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -104,9 +104,6 @@ For example, Groonga holds frequency of word, flags for stop word, importance of
|
|
104
104
|
<input type="hidden" name="check_keywords" value="yes" />
|
105
105
|
<input type="hidden" name="area" value="default" />
|
106
106
|
</form>
|
107
|
-
<p class="searchtip" style="font-size: 90%">
|
108
|
-
Enter search terms or a module, class or function name.
|
109
|
-
</p>
|
110
107
|
</div>
|
111
108
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
112
109
|
</div>
|
@@ -125,7 +122,7 @@ For example, Groonga holds frequency of word, flags for stop word, importance of
|
|
125
122
|
<li class="right" >
|
126
123
|
<a href="patricia_trie.html" title="4.8. Prefix search with patricia trie"
|
127
124
|
>previous</a> |</li>
|
128
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
125
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v6.0.2 documentation</a> »</li>
|
129
126
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
130
127
|
</ul>
|
131
128
|
</div>
|