Masafumi Yokoyama
null+****@clear*****
Sun Mar 6 20:26:17 JST 2016
Masafumi Yokoyama 2016-03-06 20:26:17 +0900 (Sun, 06 Mar 2016) New Revision: ab2cfb34f4bdce29ccf3ce6adf22b58e6c441cfb https://github.com/ranguba/rroonga/commit/ab2cfb34f4bdce29ccf3ce6adf22b58e6c441cfb Merged d3336f8: Merge pull request #126 from ranguba/add-6-0-0-entry Message: doc: update po Modified files: doc/po/ja.po Modified: doc/po/ja.po (+1549 -988) =================================================================== --- doc/po/ja.po 2016-03-06 20:07:36 +0900 (8dba8a4) +++ doc/po/ja.po 2016-03-06 20:26:17 +0900 (7452d2d) @@ -444,13 +444,73 @@ msgstr "* [2. インストール - Groonga ドキュメント](http://groonga.or msgid "# NEWS" msgstr "# お知らせ" -msgid "## 5.0.9: 2015-11-10 {#version-5-0-9}" +msgid "## 6.0.0: 2016-03-06 {#version-6-0-0}" msgstr "" msgid "### Improvements" msgstr "### 改善" msgid "" +" * Supported `-` operator as {Groonga::Operator::AND_NOT}.\n" +" * `grndump`: Added `:max_records` option.\n" +" [Patch by Genki Takiuchi]\n" +" * Accepted integer and time as function call arguments.\n" +" * `expression-builder`: Disabled auto ID detection.\n" +" It's confused when Int/Uint types for key.\n" +" * Suported `require \"rroonga\"` for `Bundler.require`.\n" +" [Patch by Fumiaki MATSUSHIMA]\n" +" * Added {Groonga::Plugin.names}.\n" +" * Added {Groonga::Config#delete}.\n" +" * Added {Groonga::Config#each}.\n" +" * Added {Groonga::Index}. It has index column and section.\n" +" * Added {Groonga::Column#find_indexes}.\n" +" It returns an array of {Groonga::Index}.\n" +" * Deprecated {Groonga::Column#indexes}.\n" +" Use {Groonga::Column#find_indexes} instead.\n" +" * Added {Groonga.error_message}.\n" +" * Supported method style function call in {Groonga::Table#select} block. It'" +"s Rubyish API.\n" +" Example:" +msgstr "" + +msgid "" +" @shops.select do |record|\n" +" record.location.geo_in_rectangle(\"35.7185,139.7912\",\n" +" \"35.7065,139.8069\")\n" +" end" +msgstr "" + +msgid "### Thanks" +msgstr "### 感謝" + +msgid "" +" * Genki Takiuchi\n" +" * Fumiaki MATSUSHIMA" +msgstr "" + +msgid "## 5.1.1: 2016-01-18 {#version-5-1-1}" +msgstr "" + +msgid "" +" * Supported Groonga 5.1.1. Groonga 5.0.9 or older aren't supported.\n" +" * Supported accessor in {Groonga::Table#geo_sort}.\n" +" * Improved performance of searching with empty condition.\n" +" * Added {Groonga::Object#accessor?}.\n" +" * Added {Groonga::Object#key_accessor?}.\n" +" * Added {Groonga::Database#reindex}.\n" +" * Added {Groonga::TableKeySupport#reindex}.\n" +" * Added {Groonga::FixSizeColumn#reindex}.\n" +" * Added {Groonga::VariableSizeColumn#reindex}.\n" +" * Added {Groonga::IndexColumn#reindex}.\n" +" * Added {Groonga.package_label}.\n" +" * Renamed {Groonga::Conf} to {Groonga::Config}.\n" +" * Renamed {Groonga::Context#conf} to {Groonga::Context#config}." +msgstr "" + +msgid "## 5.0.9: 2015-11-10 {#version-5-0-9}" +msgstr "" + +msgid "" " * Supported Groonga 5.0.9. Groonga 5.0.8 or older aren't supported.\n" " * Added {Groonga::Context#conf} that returns {Groonga::Conf}.\n" " * Added {Groonga::Conf#[]} that returns a database level configuration value" @@ -475,9 +535,6 @@ msgid "" " [GitHub#108] [Patch by Hiroshi Hatake]" msgstr "" -msgid "### Thanks" -msgstr "### 感謝" - msgid " * Hiroshi Hatake" msgstr "" @@ -2541,14 +2598,6 @@ msgid "" " >>" msgstr "" -msgid "Now you use UTF-8 as the encoding of database." -msgstr "まず、エンコーディングを設定します。ここではUTF-8を利用します。" - -msgid "" -" >> Groonga::Context.default_options = {:encoding => :utf8}\n" -" => {:encoding=>:utf8}" -msgstr "" - msgid "Then, try to create database in a file." msgstr "それでは、ファイルを指定してデータベースを作成します。" @@ -3171,15 +3220,20 @@ msgid "" "にテーブルが破棄される。" msgstr "" -# @overload -msgid "tag|overload|create" +msgid "tag|param|options" msgstr "" -# @yield [table] -msgid "生成されたテーブル。ブロックを抜けると破棄される。" +msgid "" +"The name and value\n" +"pairs. Omitted names are initialized as the default value." +msgstr "オプションを設定するハッシュ。指定されなかったオプションはデフォルト値が使われます。" + +# @option +msgid "tag|option|options" msgstr "" -msgid "tag|param|options" +# @overload +msgid "tag|overload|create" msgstr "" # @example @@ -3198,13 +3252,8 @@ msgid "" "Groonga::Array.create(:value => 512)" msgstr "" -msgid "" -"The name and value\n" -"pairs. Omitted names are initialized as the default value." -msgstr "オプションを設定するハッシュ。指定されなかったオプションはデフォルト値が使われます。" - -# @option -msgid "tag|option|options" +# @yield [table] +msgid "生成されたテーブル。ブロックを抜けると破棄される。" msgstr "" msgid "" @@ -3221,6 +3270,10 @@ msgid "" "...}@ と指定する。" msgstr "" +# @overload +msgid "tag|overload|add" +msgstr "" + # @example msgid "" "#以下のようなユーザを格納するGroonga::Arrayが\n" @@ -3239,10 +3292,6 @@ msgid "" " :uri => \"http://d.hatena.ne.jp/tasukuchan/\")" msgstr "" -# @overload -msgid "tag|overload|add" -msgstr "" - # Groonga::Array#push msgid "" "Pushes a record to the array. The record should be filled in the\n" @@ -3263,49 +3312,39 @@ msgid "" "not be filled completely. You should handle the case in pull side." msgstr "" -# @yield [record] -msgid "Filles columns of a pushed record in the given block." -msgstr "" - -# @example A program that pushes a job with error handling -msgid "" -"queue = Groonga::Array.create(:name => \"CrawlURLQueue\")\n" -"queue.define_column(\"url\", \"ShortText\")\n" -"urls = [\"http://groonga.org/\", \"http://ranguba.org/\"]\n" -"urls.each do |url|\n" -" queue.push do |record|\n" -" record.url = url if record # check record is not nil\n" -" end\n" -"end" +# @yieldparam [Record] +msgid "tag|yieldparam|record" msgstr "" -# @yieldparam [Groonga::Record or nil] record -msgid "A pushed record. It is nil when pushing is failed." +# @example +msgid "tag|example|A program that pushes a job without error handling" msgstr "" -# @example A program that has an error in push block +# @example A program that pushes a job without error handling msgid "" "queue = Groonga::Array.create(:name => \"CrawlURLQueue\")\n" "queue.define_column(\"url\", \"ShortText\")\n" "urls = [\"http://groonga.org/\", \"http://ranguba.org/\"]\n" "urls.each do |url|\n" " queue.push do |record|\n" -" record.url = uri # Typo! It should be ur*l* not ur*i*\n" -" # record.url isn't set\n" +" record.url = url\n" " end\n" "end" msgstr "" -# @example A program that pulls a job with error handling +# @example +msgid "tag|example|A program that pulls a job without error handling" +msgstr "" + +# @example A program that pulls a job without error handling msgid "" "queue = Groonga::Array.open(:name => \"CrawlURLQueue\")\n" "loop do\n" " url = nil\n" " queue.pull do |record|\n" -" url = record.url # record.url is nil!\n" +" url = record.url\n" " record.delete\n" " end\n" -" next if url.nil? # Ignore an uncompleted added job\n" " # Crawl URL\n" "end" msgstr "" @@ -3314,57 +3353,67 @@ msgstr "" msgid "tag|example|A program that pushes a job with error handling" msgstr "" -# @return [Groonga::Record or nil] -msgid "A pushed record that is yielded." +# @example A program that pushes a job with error handling +msgid "" +"queue = Groonga::Array.create(:name => \"CrawlURLQueue\")\n" +"queue.define_column(\"url\", \"ShortText\")\n" +"urls = [\"http://groonga.org/\", \"http://ranguba.org/\"]\n" +"urls.each do |url|\n" +" queue.push do |record|\n" +" record.url = url if record # check record is not nil\n" +" end\n" +"end" msgstr "" # @example msgid "tag|example|A program that has an error in push block" msgstr "" -# @overload -msgid "tag|overload|push" -msgstr "" - -# @yieldparam [Record] -msgid "tag|yieldparam|record" -msgstr "" - -# @example -msgid "tag|example|A program that pushes a job without error handling" -msgstr "" - -# @example A program that pushes a job without error handling +# @example A program that has an error in push block msgid "" "queue = Groonga::Array.create(:name => \"CrawlURLQueue\")\n" "queue.define_column(\"url\", \"ShortText\")\n" "urls = [\"http://groonga.org/\", \"http://ranguba.org/\"]\n" "urls.each do |url|\n" " queue.push do |record|\n" -" record.url = url\n" +" record.url = uri # Typo! It should be ur*l* not ur*i*\n" +" # record.url isn't set\n" " end\n" "end" msgstr "" # @example -msgid "tag|example|A program that pulls a job without error handling" +msgid "tag|example|A program that pulls a job with error handling" msgstr "" -# @example A program that pulls a job without error handling +# @example A program that pulls a job with error handling msgid "" "queue = Groonga::Array.open(:name => \"CrawlURLQueue\")\n" "loop do\n" " url = nil\n" " queue.pull do |record|\n" -" url = record.url\n" +" url = record.url # record.url is nil!\n" " record.delete\n" " end\n" +" next if url.nil? # Ignore an uncompleted added job\n" " # Crawl URL\n" "end" msgstr "" -# @example -msgid "tag|example|A program that pulls a job with error handling" +# @overload +msgid "tag|overload|push" +msgstr "" + +# @yield [record] +msgid "Filles columns of a pushed record in the given block." +msgstr "" + +# @yieldparam [Groonga::Record or nil] record +msgid "A pushed record. It is nil when pushing is failed." +msgstr "" + +# @return [Groonga::Record or nil] +msgid "A pushed record that is yielded." msgstr "" # Groonga::Array#pull @@ -3401,36 +3450,10 @@ msgid "" "{Groonga::Array#unblock}, signal handler can be ran." msgstr "" -# @yieldparam [Groonga::Record or nil] record -msgid "" -"A pulled record. It is nil when no records exist in the array\n" -"and @block?@ parameter is not @true �� ." -msgstr "" - # @example msgid "tag|example|A program that pulls with non-block mode" msgstr "" -# @return [Groonga::Record or nil] -msgid "A pulled record that is yielded." -msgstr "" - -# @see {Groonga::Array#push} -msgid "Examples exist in the push documentation." -msgstr "" - -# @yield [record] -msgid "Gets required values for a pull record in the given block." -msgstr "" - -# @see -msgid "tag|see|Groonga::Array#push" -msgstr "" - -# @overload -msgid "tag|overload|pull" -msgstr "" - # @example A program that pulls with non-block mode msgid "" "queue = Groonga::Array.open(:name => \"CrawlURLQueue\")\n" @@ -3462,20 +3485,38 @@ msgid "" "end" msgstr "" +# @see +msgid "tag|see|Groonga::Array#push" +msgstr "" + +# @see {Groonga::Array#push} +msgid "Examples exist in the push documentation." +msgstr "" + +# @overload +msgid "tag|overload|pull" +msgstr "" + # @param [::Hash] options msgid "The option parameters." msgstr "" -# Groonga::Array#unblock -msgid "Unblocks all {Groonga::Array#pull} operations for the array." +# @yield [record] +msgid "Gets required values for a pull record in the given block." msgstr "" -# @see -msgid "tag|see|Groonga::Array#pull" +# @yieldparam [Groonga::Record or nil] record +msgid "" +"A pulled record. It is nil when no records exist in the array\n" +"and @block?@ parameter is not @true �� ." msgstr "" -# @overload -msgid "tag|overload|unblock" +# @return [Groonga::Record or nil] +msgid "A pulled record that is yielded." +msgstr "" + +# Groonga::Array#unblock +msgid "Unblocks all {Groonga::Array#pull} operations for the array." msgstr "" # @example @@ -3501,6 +3542,14 @@ msgid "" "queue.unblock" msgstr "" +# @see +msgid "tag|see|Groonga::Array#pull" +msgstr "" + +# @overload +msgid "tag|overload|unblock" +msgstr "" + msgid "" "テーブルに情報を付加するためのオブジェクト。テーブルに複\n" "数のカラムを定義することによりレコード毎に複数の情報を付\n" @@ -3560,7 +3609,12 @@ msgid "" "用のスニペットを簡単に生成できる。" msgstr "" -msgid "検索結果" +# @overload +msgid "tag|overload|select" +msgstr "" + +# @example +msgid "tag|example|Shows texts around \"Groonga\"" msgstr "" # @example Shows texts around "Groonga" @@ -3586,8 +3640,7 @@ msgid "" "# ---" msgstr "" -# @example -msgid "tag|example|Shows texts around \"Groonga\"" +msgid "検索結果" msgstr "" # @yieldparam [Groonga::Record] record @@ -3638,10 +3691,6 @@ msgstr "" msgid "tag|param|expression" msgstr "" -# @overload -msgid "tag|overload|select" -msgstr "" - # @param [Groonga::Expression] expression msgid "" "条件を表すオブジェクト\n" @@ -3651,14 +3700,14 @@ msgstr "" msgid "_column_ のロックを解除する。" msgstr "" -# @param [::Hash] options -msgid "利用可能なオプションは以下の通り。" -msgstr "" - # @overload msgid "tag|overload|unlock" msgstr "" +# @param [::Hash] options +msgid "利用可能なオプションは以下の通り。" +msgstr "" + # Groonga::Column#lock msgid "" "_column_ をロックする。ロックに失敗した場合は\n" @@ -3715,6 +3764,10 @@ msgid "" "the column must re-open its database after this method is done." msgstr "" +# @overload +msgid "tag|overload|truncate" +msgstr "" + # @return msgid "void" msgstr "" @@ -3723,10 +3776,6 @@ msgstr "" msgid "4.0.8" msgstr "" -# @overload -msgid "tag|overload|truncate" -msgstr "" - # Groonga::Column#index? # Groonga::Column#index_column? msgid "" @@ -3758,6 +3807,10 @@ msgstr "" msgid "tag|overload|scalar?" msgstr "" +# @overload +msgid "tag|overload|with_weight?" +msgstr "" + # @return [Boolean] msgid "" "@true@ if the column is vector and created with\n" @@ -3768,27 +3821,33 @@ msgstr "" msgid "4.0.1" msgstr "" -# @overload -msgid "tag|overload|with_weight?" +# Groonga::Column#find_indexes +msgid "" +"Return indexes on `column`. If operator is specified, indexes that\n" +"can executes the operator are only returned. Otherwise, all indexes\n" +"are returned." msgstr "" -# Groonga::Column#indexes -msgid "Return indexes on `column` which can execute `operator`." +# Groonga::Column#find_indexes +msgid "Index means that index column and section." msgstr "" -msgid "1.0.9" +# @overload +msgid "tag|overload|find_indexes" msgstr "" -# @return [Array<index_column>] -msgid "Indexes on `column` which can execute `operator`." -msgstr "" +#, fuzzy +msgid "" +"The name and value pairs.\n" +"Omitted names are initialized as the default value." +msgstr "オプションを設定するハッシュ。指定されなかったオプションはデフォルト値が使われます。" -# @param [Groonga::Operator::XXX] -msgid "tag|param|operator" +# @return [Array<Groonga::Index>] +msgid "Target indexes on `column`." msgstr "" -# @overload -msgid "tag|overload|indexes" +# @since +msgid "6.0.0" msgstr "" msgid "Renames the column to name." @@ -3823,12 +3882,6 @@ msgstr "" msgid "5.0.9" msgstr "" -# @param [Groonga::Context, nil] context -msgid "" -"The context to be configured.\n" -"If `context` is `nil`, {Groonga::Context.default} is used." -msgstr "" - # @overload msgid "tag|overload|initialize" msgstr "" @@ -3837,6 +3890,12 @@ msgstr "" msgid "tag|param|context" msgstr "" +# @param [Groonga::Context, nil] context +msgid "" +"The context to be configured.\n" +"If `context` is `nil`, {Groonga::Context.default} is used." +msgstr "" + # Groonga::Conf#[] msgid "Gets a configuration value for key." msgstr "" @@ -3846,6 +3905,11 @@ msgstr "" msgid "tag|param|key" msgstr "" +# @overload +#, fuzzy +msgid "tag|overload|config" +msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" + # @param [String] key msgid "The key." msgstr "" @@ -3854,11 +3918,6 @@ msgstr "" msgid "The value associated with `key`." msgstr "" -# @overload -#, fuzzy -msgid "tag|overload|conf" -msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" - # Groonga::Conf#[]= msgid "Sets a configuration key and value pair." msgstr "" @@ -3868,14 +3927,68 @@ msgstr "" msgid "tag|param|value" msgstr "" +# @param [String] value +msgid "The value to be assigned." +msgstr "" + # @return [String] msgid "`value`." msgstr "" -# @param [String] value -msgid "The value to be assigned." +# Groonga::Config#delete +msgid "Deletes a configuration for key." +msgstr "" + +# @overload +msgid "tag|overload|delete" +msgstr "" + +# Groonga::Config#each +msgid "Passes all key/value of the config to block in order." +msgstr "" + +# @overload +msgid "tag|overload|each" +msgstr "" + +# @example +msgid "tag|example|Shows all keys and all values of the config" +msgstr "" + +# @example Shows all keys and all values of the config +msgid "" +"context.config[\"rroonga.key1\"] = \"value1\"\n" +"context.config[\"rroonga.key2\"] = \"value2\"\n" +"keys = []\n" +"values = []\n" +"context.config.each do |key, value|\n" +" keys << key\n" +" values << value\n" +"end\n" +"p keys # => [\"rroonga.key1\", \"rroonga.key2\"]\n" +"p values # => [\"value1\", \"value2\"]" +msgstr "" + +# @yieldparam [String] +msgid "tag|yieldparam|key" +msgstr "" + +# @yieldparam [String] key +msgid "The configuration key" +msgstr "" + +# @yieldparam [String] +msgid "tag|yieldparam|value" +msgstr "" + +# @yieldparam [String] value +msgid "The value which is associated with `key`" msgstr "" +#, fuzzy +msgid "For backward compatibility." +msgstr "後方互換性のために残してあります。" + msgid "" "groonga全体に渡る情報を管理するオブジェクト。通常のアプリ\n" "ケーションでは1つのコンテキストを作成し、それを利用する。\n" @@ -3994,14 +4107,14 @@ msgstr "" msgid "Gets the encoding used by the context as Ruby's encoding object." msgstr "コンテキストが使っているエンコーディングをRubyのエンコーディングオブジェクトで取得する。" -msgid "the encoding used by the context" +# @overload +msgid "tag|overload|ruby_encoding" msgstr "" -msgid "2.0.5" +msgid "the encoding used by the context" msgstr "" -# @overload -msgid "tag|overload|ruby_encoding" +msgid "2.0.5" msgstr "" # Groonga::Context#match_escalation_threshold @@ -4086,19 +4199,19 @@ msgstr "" msgid "groongaサーバにクエリ文字列を送信する。" msgstr "" -# @overload -msgid "tag|overload|send" +# @param [String] +msgid "tag|param|string" msgstr "" msgid "ID" msgstr "" -# @param [String] string -msgid "クエリ文字列" +# @overload +msgid "tag|overload|send" msgstr "" -# @param [String] -msgid "tag|param|string" +# @param [String] string +msgid "クエリ文字列" msgstr "" msgid "groongaサーバからクエリ実行結果文字列を受信する。" @@ -4132,6 +4245,11 @@ msgstr "" msgid "Checks whether object with the ID is opened or not." msgstr "" +# @param [Integer, Record] +# @param [Integer] +msgid "tag|param|id" +msgstr "" + # @overload msgid "tag|overload|opened?" msgstr "" @@ -4140,11 +4258,6 @@ msgstr "" msgid "The ID to be checked" msgstr "" -# @param [Integer, Record] -# @param [Integer] -msgid "tag|param|id" -msgstr "" - # @return [Boolean] msgid "" "`true` if object with the `id` is opened,\n" @@ -4171,10 +4284,6 @@ msgid "" "_options_ にはハッシュでオプションを指定する。" msgstr "" -# @return [Groonga::Database] -msgid "作成されたデータベースを返す。" -msgstr "" - # @example msgid "" "# 一時データベースを作成:\n" @@ -4184,20 +4293,24 @@ msgid "" "Groonga::Database.create(:path => \"/tmp/db.groonga\")" msgstr "" +# @return [Groonga::Database] +msgid "作成されたデータベースを返す。" +msgstr "" + msgid "" "既存のデータベースを開く。ブロックを指定した場合はブロッ\n" "クに開いたデータベースを渡し、ブロックを抜けるときに閉じ\n" "る。" msgstr "" -# @yieldparam [Groonga::Database] database -msgid "開いたデータベース" -msgstr "" - # @yieldparam [Groonga::Database] msgid "tag|yieldparam|database" msgstr "" +# @yieldparam [Groonga::Database] database +msgid "開いたデータベース" +msgstr "" + msgid "" "既存のデータベースを開く。ブロックを指定した場合はブロッ\n" "クに開いたデータベースを渡し、ブロックを抜けるときに閉じ\n" @@ -4214,6 +4327,13 @@ msgstr "" msgid "tag|example|すべてのオブジェクトの名前を表示する:" msgstr "" +# @example すべてのオブジェクトの名前を表示する: +msgid "" +"database.each do |object|\n" +" p object.name\n" +"end" +msgstr "" + msgid "tag|example|すべてのオブジェクトの名前をID順で表示する:" msgstr "" @@ -4224,11 +4344,7 @@ msgid "" "end" msgstr "" -# @example すべてのオブジェクトの名前を表示する: -msgid "" -"database.each do |object|\n" -" p object.name\n" -"end" +msgid "tag|example|すべてのオブジェクトの名前をキー名の降順で表示する:" msgstr "" # @example すべてのオブジェクトの名前をキー名の降順で表示する: @@ -4238,13 +4354,6 @@ msgid "" "end" msgstr "" -# @overload -msgid "tag|overload|each" -msgstr "" - -msgid "tag|example|すべてのオブジェクトの名前をキー名の降順で表示する:" -msgstr "" - # Groonga::Database#unlock msgid "_database_ のロックを解除する。" msgstr "" @@ -4272,6 +4381,10 @@ msgstr "" msgid "Defrags all variable size columns in the database." msgstr "データベースの可変長カラムをすべてデフラグする。" +# @overload +msgid "tag|overload|defrag" +msgstr "" + msgid "the number of defraged segments" msgstr "デフラグされたセグメントの数" @@ -4282,10 +4395,6 @@ msgstr "" msgid "1.2.6" msgstr "" -# @overload -msgid "tag|overload|defrag" -msgstr "" - # Groonga::Database#recover msgid "Recovers database." msgstr "" @@ -4327,6 +4436,108 @@ msgid "" "resourced for mapped tables and columns cleverly." msgstr "" +# Groonga::Database#reindex +msgid "Recreates all index columns in the database." +msgstr "" + +# Groonga::Database#reindex +msgid "" +"This method is useful when you have any broken index columns in\n" +"the database. You don't need to specify each index column. But\n" +"this method spends more time rather than you specify only reindex\n" +"needed index columns." +msgstr "" + +# Groonga::Database#reindex +msgid "" +"You can use {Groonga::TableKeySupport#reindex} to specify reindex\n" +"target index columns in a table." +msgstr "" + +# Groonga::Database#reindex +# Groonga::Table::KeySupport#reindex +msgid "" +"You can use {Groonga::FixSizeColumn#reindex} or\n" +"{Groonga::VariableSizeColumn#reindex} to specify reindex target\n" +"index columns. They use index columns of the data column as\n" +"reindex target index columns." +msgstr "" + +# Groonga::Database#reindex +# Groonga::FixSizeColumn#reindex +# Groonga::Table::KeySupport#reindex +# Groonga::VariableSizeColumn#reindex +msgid "" +"You can use {Groonga::IndexColumn#reindex} to specify the reindex\n" +"target index column." +msgstr "" + +# @overload +#, fuzzy +msgid "tag|overload|reindex" +msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" + +# @see +msgid "tag|see|Groonga::FixSizeColumn#reindex" +msgstr "" + +# @see +msgid "tag|see|Groonga::VariableSizeColumn#reindex" +msgstr "" + +# @see +msgid "tag|see|Groonga::IndexColumn#reindex" +msgstr "" + +# @since +msgid "5.1.1" +msgstr "" + +# @example +msgid "tag|example|How to recreate all index columns in the database" +msgstr "" + +# @example How to recreate all index columns in the database +msgid "" +"database = Groonga::Database.create(:path => \"/tmp/db\")\n" +"\n" +"Groonga::Schema.define do |schema|\n" +" schema.create_table(\"Memos\") do |table|\n" +" table.short_text(\"title\")\n" +" table.text(\"content\")\n" +" end\n" +"\n" +" schema.create_table(\"BigramTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenBigram\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"\n" +" schema.create_table(\"MeCabTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenMecab\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"end\n" +"\n" +"database.reindex\n" +"# They are called:\n" +"# Groonga[\"BigramTerms.Memos_title\"].reindex\n" +"# Groonga[\"BigramTerms.Memos_content\"].reindex\n" +"# Groonga[\"MeCabTerms.Memos_title\"].reindex\n" +"# Groonga[\"MeCabTerms.Memos_content\"].reindex" +msgstr "" + +# @see +msgid "tag|see|Groonga::TableKeySupport#reindex" +msgstr "" + # Groonga::DoubleArrayTrieCursor msgid "" "{Groonga::DoubleArrayTrie} に登録されているレコードを順番に取り\n" @@ -4414,8 +4625,11 @@ msgid "" "+:result+ にテーブルを指定した場合は、そのテーブルが返る。" msgstr "" -# @param [String] key -msgid "レコードにマッチさせる値" +# @overload +msgid "tag|overload|search" +msgstr "" + +msgid "tag|example|複数のキーで検索し、結果を1つのテーブルに集める。" msgstr "" # @example 複数のキーで検索し、結果を1つのテーブルに集める。 @@ -4431,11 +4645,8 @@ msgid "" "end" msgstr "" -# @overload -msgid "tag|overload|search" -msgstr "" - -msgid "tag|example|複数のキーで検索し、結果を1つのテーブルに集める。" +# @param [String] key +msgid "レコードにマッチさせる値" msgstr "" msgid "" @@ -4444,6 +4655,9 @@ msgid "" "ロックを抜けると自動的にカーソルが破棄される。" msgstr "" +msgid "tag|overload|open_prefix_cursor" +msgstr "" + # @param [String] msgid "tag|param|prefix" msgstr "" @@ -4452,21 +4666,18 @@ msgstr "" msgid "前方一致させる値" msgstr "" -msgid "tag|overload|open_prefix_cursor" -msgstr "" - # Groonga::DoubleArrayTrie#update msgid "Renames key of a record." msgstr "" -# @overload -msgid "tag|overload|update" -msgstr "" - # @since msgid "4.0.5" msgstr "" +# @overload +msgid "tag|overload|update" +msgstr "" + msgid "" "オブジェクトにエンコーディング関連の機能を提供するモジュー\n" "ル。" @@ -4576,16 +4787,16 @@ msgstr "" msgid "デフォルトのエンコーディングを設定する。" msgstr "" +# @param [Groonga::Encoding] +msgid "tag|param|encoding" +msgstr "" + # @param [Groonga::Encoding] encoding msgid "" "指定するエンコーディング。\n" "エンコーディングの指定方法は {Groonga::Encoding} を参照。" msgstr "" -# @param [Groonga::Encoding] -msgid "tag|param|encoding" -msgstr "" - msgid "groongaをビルドしたときに指定したエンコーディング。" msgstr "" @@ -4611,24 +4822,8 @@ msgstr "" msgid "Executes an equal operation." msgstr "" -# @example -msgid "tag|example|Executes equal operations with the default context" -msgstr "" - -# @example Executes equal operations with the default context -msgid "" -"Groonga::Operator::EQUAL.exec(\"hello\", \"hello\") # => true\n" -"Groonga::Operator::EQUAL.exec(\"hello\", \"Hello\") # => false" -msgstr "" - -# @example -msgid "tag|example|Executes equal operations with the specified context" -msgstr "" - -# @return [Boolean] -msgid "" -"`true` if `x` equals to `y`, `false`\n" -"otherwise." +# @param [::Hash] options +msgid "The options." msgstr "" # @overload @@ -4639,10 +4834,6 @@ msgstr "" msgid "tag|param|x" msgstr "" -# @param [::Hash] options -msgid "The options." -msgstr "" - # @param [::Object] x msgid "The left hand side value." msgstr "" @@ -4655,6 +4846,20 @@ msgstr "" msgid "The right hand side value." msgstr "" +# @example +msgid "tag|example|Executes equal operations with the default context" +msgstr "" + +# @example Executes equal operations with the default context +msgid "" +"Groonga::Operator::EQUAL.exec(\"hello\", \"hello\") # => true\n" +"Groonga::Operator::EQUAL.exec(\"hello\", \"Hello\") # => false" +msgstr "" + +# @example +msgid "tag|example|Executes equal operations with the specified context" +msgstr "" + # @example Executes equal operations with the specified context msgid "" "context = Groonga::Context.new\n" @@ -4664,7 +4869,13 @@ msgid "" " :context => context) # => false" msgstr "" -msgid "rroongaが発生する例外のスーパークラス。" +# @return [Boolean] +msgid "" +"`true` if `x` equals to `y`, `false`\n" +"otherwise." +msgstr "" + +msgid "rroongaが発生する例外のスーパークラス。" msgstr "" msgid "1.2.3" @@ -4947,32 +5158,32 @@ msgstr "" msgid "_object_ を追加し、 _n_arguments_ 個の引数を取る _operation_ を追加する。" msgstr "" -# @param [Object] object -msgid "追加するオブジェクト" +# @overload +msgid "tag|overload|append_object" msgstr "" # @param [Object] msgid "tag|param|object" msgstr "" -# @param [Integer] n_arguments -msgid "_operation_ の取る引数" +# @param [Object] object +msgid "追加するオブジェクト" msgstr "" -# @param [Integer] -msgid "tag|param|n_arguments" +# @param [Groonga::Operator::XXX] +msgid "tag|param|operation" msgstr "" # @param [Groonga::Operator::XXX] operation msgid "追加する _operation_" msgstr "" -# @param [Groonga::Operator::XXX] -msgid "tag|param|operation" +# @param [Integer] +msgid "tag|param|n_arguments" msgstr "" -# @overload -msgid "tag|overload|append_object" +# @param [Integer] n_arguments +msgid "_operation_ の取る引数" msgstr "" msgid "self" @@ -4982,15 +5193,15 @@ msgstr "" msgid "_constant_ を追加し、 _n_arguments_ 個の引数を取る _operation_ を追加する。" msgstr "" -# @param [Object] constant -msgid "追加する _constant_" +msgid "tag|overload|append_constant" msgstr "" # @param [Object] msgid "tag|param|constant" msgstr "" -msgid "tag|overload|append_constant" +# @param [Object] constant +msgid "追加する _constant_" msgstr "" # Groonga::Expression#append_operation @@ -5004,14 +5215,14 @@ msgstr "" msgid "文字列 _query_ をパースする。" msgstr "" -# @param [String] query -msgid "パースする文字列" -msgstr "" - # @overload msgid "tag|overload|parse" msgstr "" +# @param [String] query +msgid "パースする文字列" +msgstr "" + msgid "_expression_ を実行し、実行した結果を返す。" msgstr "" @@ -5031,14 +5242,14 @@ msgstr "" msgid "Dump execution plan of the `expression` in string." msgstr "" -# @overload -msgid "tag|overload|dump_plan" -msgstr "" - # @since msgid "4.0.7" msgstr "" +# @overload +msgid "tag|overload|dump_plan" +msgstr "" + # Groonga::Expression#[] msgid "" "_expression_ で使用可能な変数のうち、名前が _name_\n" @@ -5084,14 +5295,14 @@ msgid "" "</pre>" msgstr "" -# @param [Array<string>] -msgid "tag|param|tags" -msgstr "" - # @overload msgid "tag|overload|snippet" msgstr "" +# @param [Array<string>] +msgid "tag|param|tags" +msgstr "" + # @param [Array<string>] tags msgid "" "キーワードの前後に挿入するタグの配列\n" @@ -5104,18 +5315,18 @@ msgid "" "guaranteed." msgstr "" -# @return [::Array<String>] -msgid "the extracted keywords" +# @example +msgid "" +"expression.parse(\"Ruby OR Groonga\")\n" +"expression.keywords #=> [\"Groonga\", \"Ruby\"]" msgstr "" # @overload msgid "tag|overload|keywords" msgstr "" -# @example -msgid "" -"expression.parse(\"Ruby OR Groonga\")\n" -"expression.keywords #=> [\"Groonga\", \"Ruby\"]" +# @return [::Array<String>] +msgid "the extracted keywords" msgstr "" # Groonga::Expression#estimate_size @@ -5130,16 +5341,16 @@ msgid "" "estimated size." msgstr "" +# @overload +msgid "tag|overload|estimate_size" +msgstr "" + # @example msgid "" "expression.parse(\"Ruby OR Groonga\")\n" "expression.estimate_size # => 10" msgstr "" -# @overload -msgid "tag|overload|estimate_size" -msgstr "" - # @return [Integer] msgid "" "the estimated number of matched records when\n" @@ -5150,10 +5361,6 @@ msgstr "" msgid "Rewrites expression." msgstr "" -# @since -msgid "5.1.0" -msgstr "" - # @example msgid "" "expression.parse(\"age >= 10 AND age < 20\",\n" @@ -5162,16 +5369,20 @@ msgid "" " # It'll use between(age, 10, \"include\", 20, \"exclude\")" msgstr "" +# @overload +#, fuzzy +msgid "tag|overload|rewrite" +msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" + # @return [Groonga::Expression, nil] msgid "" "new rewritten expression when\n" "the expression is rewritten, `nil` otherwise." msgstr "" -# @overload -#, fuzzy -msgid "tag|overload|rewrite" -msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" +# @since +msgid "5.1.0" +msgstr "" msgid "固定長データ用のカラム。" msgstr "" @@ -5192,14 +5403,14 @@ msgstr "" msgid "tag|overload|[]=" msgstr "" -# @param [Groonga::Object] value -msgid "設定する値" -msgstr "" - # @param [Integer] id msgid "設定する値に対応する _column_ の _id_" msgstr "" +# @param [Groonga::Object] value +msgid "設定する値" +msgstr "" + # Groonga::FixSizeColumn#increment! msgid "" "_column_ の _id_ に対応する値を _delta_ だけ増加する。 _delta_\n" @@ -5220,6 +5431,83 @@ msgstr "" msgid "tag|overload|decrement!" msgstr "" +# Groonga::FixSizeColumn#reindex +# Groonga::VariableSizeColumn#reindex +msgid "Recreates all index columns for the column." +msgstr "" + +# Groonga::FixSizeColumn#reindex +# Groonga::VariableSizeColumn#reindex +msgid "" +"This method is useful when you have any broken index columns for\n" +"the column. You don't need to specify each index column. But this\n" +"method spends more time rather than you specify only reindex\n" +"needed index columns." +msgstr "" + +# Groonga::FixSizeColumn#reindex +# Groonga::IndexColumn#reindex +# Groonga::Table::KeySupport#reindex +# Groonga::VariableSizeColumn#reindex +msgid "" +"You can use {Groonga::Database#reindex} to recreate all index\n" +"columns in a database." +msgstr "" + +# Groonga::FixSizeColumn#reindex +# Groonga::IndexColumn#reindex +# Groonga::VariableSizeColumn#reindex +msgid "" +"You can use {Groonga::TableKeySupport#reindex} to recreate all\n" +"index columns in a table." +msgstr "" + +# @see +msgid "tag|see|Groonga::Database#reindex" +msgstr "" + +# @example +msgid "tag|example|How to recreate all index columns for the column" +msgstr "" + +# @example How to recreate all index columns for the column +msgid "" +"Groonga::Schema.define do |schema|\n" +" schema.create_table(\"Users\") do |table|\n" +" table.integer32(\"age\")\n" +" table.integer32(\"score\")\n" +" end\n" +"\n" +" schema.create_table(\"Numbers\",\n" +" :type => :patricia_trie,\n" +" :key_type => :integer32) do |table|\n" +" table.index(\"Users.age\")\n" +" table.index(\"Users.score\")\n" +" end\n" +"\n" +" schema.create_table(\"Ages\",\n" +" :type => :patricia_trie,\n" +" :key_type => :integer32) do |table|\n" +" table.index(\"Users.age\")\n" +" end\n" +"\n" +" schema.create_table(\"Scores\",\n" +" :type => :patricia_trie,\n" +" :key_type => :integer32) do |table|\n" +" table.index(\"Users.score\")\n" +" end\n" +"end\n" +"\n" +"Groonga[\"Users.age\"].reindex\n" +"# They are called:\n" +"# Groonga[\"Numbers.Users_age\"].reindex\n" +"# Groonga[\"Ages.Users_age\"].reindex\n" +"#\n" +"# They aren't called:\n" +"# Groonga[\"Numbers.Users_score\"].reindex\n" +"# Groonga[\"Scores.Users_score\"].reindex" +msgstr "" + # Groonga::Flushable msgid "It provides the ability to flush data on memory to disk." msgstr "" @@ -5237,7 +5525,7 @@ msgid "Executes a greater-or-equal operation." msgstr "" # @example -msgid "tag|example|Executes greater-or-equal operations with the specified context" +msgid "tag|example|Executes greater-or-equal operations with the default context" msgstr "" # @example Executes greater-or-equal operations with the default context @@ -5248,7 +5536,7 @@ msgid "" msgstr "" # @example -msgid "tag|example|Executes greater-or-equal operations with the default context" +msgid "tag|example|Executes greater-or-equal operations with the specified context" msgstr "" # @example Executes greater-or-equal operations with the specified context @@ -5272,6 +5560,20 @@ msgstr "" msgid "Executes a greater operation." msgstr "" +# @example +msgid "tag|example|Executes greater operations with the default context" +msgstr "" + +# @example Executes greater operations with the default context +msgid "" +"Groonga::Operator::GREATER.exec(2, 1) # => true\n" +"Groonga::Operator::GREATER.exec(1, 2) # => false" +msgstr "" + +# @example +msgid "tag|example|Executes greater operations with the specified context" +msgstr "" + # @example Executes greater operations with the specified context msgid "" "context = Groonga::Context.new\n" @@ -5287,20 +5589,6 @@ msgid "" "otherwise." msgstr "" -# @example Executes greater operations with the default context -msgid "" -"Groonga::Operator::GREATER.exec(2, 1) # => true\n" -"Groonga::Operator::GREATER.exec(1, 2) # => false" -msgstr "" - -# @example -msgid "tag|example|Executes greater operations with the specified context" -msgstr "" - -# @example -msgid "tag|example|Executes greater operations with the default context" -msgstr "" - # Groonga::HashCursor msgid "" "{Groonga::Hash} に登録されているレコードを順番に取り出すため\n" @@ -5406,24 +5694,14 @@ msgid "" "{Groonga::Table#define_index_column}." msgstr "" -# @param [String] value -msgid "The value of the @record �� ." -msgstr "" - -# @since -msgid "3.0.2" +# @param [Record] +msgid "tag|param|record" msgstr "" # @example msgid "tag|example|Adds sentences of an article to index" msgstr "" -# @param [Groonga::Record, Integer] record -msgid "" -"The record that has a @value@ as its value. It can be Integer as\n" -"record id." -msgstr "" - # @example Adds sentences of an article to index msgid "" "articles = Groonga::Array.create(:name => \"Articles\")\n" @@ -5471,8 +5749,18 @@ msgid "" "end" msgstr "" -# @param [Record] -msgid "tag|param|record" +# @param [Groonga::Record, Integer] record +msgid "" +"The record that has a @value@ as its value. It can be Integer as\n" +"record id." +msgstr "" + +# @param [String] value +msgid "The value of the @record �� ." +msgstr "" + +# @since +msgid "3.0.2" msgstr "" # Groonga::IndexColumn#delete @@ -5483,10 +5771,6 @@ msgid "" "option of {Groonga::Table#define_index_column}." msgstr "" -# @overload -msgid "tag|overload|delete" -msgstr "" - # @example msgid "tag|example|Deletes sentences of an article to index" msgstr "" @@ -5554,6 +5838,10 @@ msgid "" "{Groonga::Table#define_index_column}." msgstr "" +# @example +msgid "tag|example|Updates sentences of an article in index" +msgstr "記事中の文の索引を更新する" + # @example Updates sentences of an article to index msgid "" "articles = Groonga::Array.create(:name => \"Articles\")\n" @@ -5618,10 +5906,6 @@ msgstr "" msgid "The new value of the @record �� ." msgstr "" -# @example -msgid "tag|example|Updates sentences of an article in index" -msgstr "記事中の文の索引を更新する" - # Groonga::IndexColumn#sources msgid "インデックス対象となっている {Groonga::Column} の配列を返す。" msgstr "" @@ -5633,6 +5917,10 @@ msgstr "" msgid "インデックス対象となる複数のカラムを配列で設定する。" msgstr "" +# @overload +msgid "tag|overload|sources=" +msgstr "" + # @param [::Array<Groonga::Column>] msgid "tag|param|columns" msgstr "" @@ -5641,17 +5929,9 @@ msgstr "" msgid "インデックス対象となるカラムの配列" msgstr "" -# @overload -msgid "tag|overload|sources=" -msgstr "" - msgid "インデックス対象となるカラムを設定する。" msgstr "" -# @param [Groonga::Column] column -msgid "インデックス対象とするカラム" -msgstr "" - # @overload msgid "tag|overload|source=" msgstr "" @@ -5660,6 +5940,10 @@ msgstr "" msgid "tag|param|column" msgstr "" +# @param [Groonga::Column] column +msgid "インデックス対象とするカラム" +msgstr "" + # Groonga::IndexColumn#search msgid "" "_object_ から _query_ に対応するオブジェクトを検索し、見つかっ\n" @@ -5689,6 +5973,10 @@ msgstr "" msgid "Opens cursor to iterate posting in the index column." msgstr "" +# @overload +msgid "tag|overload|open_cursor" +msgstr "" + msgid "# TODO" msgstr "" @@ -5700,93 +5988,17 @@ msgstr "" msgid "table cursor for table of the index column." msgstr "" -# @overload -msgid "tag|overload|open_cursor" -msgstr "" - # Groonga::IndexColumn#estimate_size msgid "" "Estimates the number of documents found by the given token ID,\n" "query or lexicon cursor." msgstr "" -# @return [Integer] -msgid "" -"The estimated number of documents found by the\n" -"given query." -msgstr "" - -# @param [Groonga::TableCursor] -msgid "tag|param|lexicon_cursor" -msgstr "" - -# @param [Groonga::TableCursor] lexicon_cursor -msgid "The cursor for lexicon." -msgstr "" - -# @return [Integer] -msgid "" -"The estimated number of documents found by term IDS\n" -"in the given lexicon cursor." +# @example +msgid "tag|example|Token ID style" msgstr "" -# @return [Integer] -msgid "" -"The estimated number of documents found by the\n" -"given token ID." -msgstr "" - -# @param [Integer, Record] token_id -msgid "The token ID to be estimated." -msgstr "" - -# @overload -msgid "tag|param|token_id" -msgstr "" - -# @example Lexicon cursor style -msgid "" -"# Define schema\n" -"Groonga::Schema.define do |schema|\n" -" schema.create_table(\"Memos\",\n" -" :type => :hash,\n" -" :key_type => \"ShortText\") do |table|\n" -" table.short_text(\"tags\", :type => :vector)\n" -" end\n" -"\n" -" schema.create_table(\"Tags\",\n" -" :type => :patricia_trie,\n" -" :key_type => \"ShortText\") do |table|\n" -" table.index(\"Memos.tags\",\n" -" :name => \"memos_tags\")\n" -" end\n" -"end\n" -"memos = Groonga[\"Memos\"]\n" -"tags = Groonga[\"Tags\"]\n" -"index = Groonga[\"Tags.memos_tags\"]\n" -"\n" -"# Add data\n" -"memos.add(:tags => [\"Groonga\"])\n" -"memos.add(:tags => [\"Rroonga\", \"Ruby\"])\n" -"memos.add(:tags => [\"grndump\", \"Rroonga\"])\n" -"\n" -"# Estimate the number of documents found by lexicon cursor\n" -"# Iterates tags that start with \"R\".\n" -"tags.open_prefix_cursor(\"R\") do |cursor|\n" -" # The cursor iterates \"Rroonga\" and \"Ruby\".\n" -" p index.estimate_size(cursor) # => 6\n" -"end" -msgstr "" - -# @example -msgid "tag|example|Lexicon cursor style" -msgstr "" - -# @param [String] query -msgid "The query to be estimated." -msgstr "" - -# @example Query style +# @example Token ID style msgid "" "# Define schema\n" "Groonga::Schema.define do |schema|\n" @@ -5797,7 +6009,7 @@ msgid "" " schema.create_table(\"Terms\",\n" " :type => :hash,\n" " :key_type => \"ShortText\",\n" -" :default_tokenizer => \"TokenBigramSplitSymbolAlpha\",\n" +" :default_tokenizer => \"TokenBigram\",\n" " :normalizer => \"NormalizerAuto\") do |table|\n" " table.index(\"Articles.content\",\n" " :name => \"articles_content\",\n" @@ -5806,6 +6018,7 @@ msgid "" " end\n" "end\n" "articles = Groonga[\"Articles\"]\n" +"terms = Groonga[\"Terms\"]\n" "index = Groonga[\"Terms.articles_content\"]\n" "\n" "# Add data\n" @@ -5813,19 +6026,16 @@ msgid "" "articles.add(:content => \"Rroonga is fast\")\n" "articles.add(:content => \"Mroonga is fast\")\n" "\n" -"# Estimate the number of documents found by query\n" -"p****@index*****_size(\"roonga\") # => 6" -msgstr "" - -# @example -msgid "tag|example|Token ID style" +"# Estimate the number of documents found by token ID\n" +"p****@index*****_size(@terms[\"fast\"].id) # => 7\n" +"p****@index*****_size(@terms[\"Groonga\"].id) # => 1" msgstr "" # @example -msgid "tag|example|Query style" +msgid "tag|example|Token record style" msgstr "" -# @example Token ID style +# @example Token record style msgid "" "# Define schema\n" "Groonga::Schema.define do |schema|\n" @@ -5853,12 +6063,16 @@ msgid "" "articles.add(:content => \"Rroonga is fast\")\n" "articles.add(:content => \"Mroonga is fast\")\n" "\n" -"# Estimate the number of documents found by token ID\n" -"p****@index*****_size(@terms[\"fast\"].id) # => 7\n" -"p****@index*****_size(@terms[\"Groonga\"].id) # => 1" +"# Estimate the number of documents found by token record\n" +"p****@index*****_size(@terms[\"fast\"]) # => 7\n" +"p****@index*****_size(@terms[\"Groonga\"]) # => 1" msgstr "" -# @example Token record style +# @example +msgid "tag|example|Query style" +msgstr "" + +# @example Query style msgid "" "# Define schema\n" "Groonga::Schema.define do |schema|\n" @@ -5869,7 +6083,7 @@ msgid "" " schema.create_table(\"Terms\",\n" " :type => :hash,\n" " :key_type => \"ShortText\",\n" -" :default_tokenizer => \"TokenBigram\",\n" +" :default_tokenizer => \"TokenBigramSplitSymbolAlpha\",\n" " :normalizer => \"NormalizerAuto\") do |table|\n" " table.index(\"Articles.content\",\n" " :name => \"articles_content\",\n" @@ -5878,7 +6092,6 @@ msgid "" " end\n" "end\n" "articles = Groonga[\"Articles\"]\n" -"terms = Groonga[\"Terms\"]\n" "index = Groonga[\"Terms.articles_content\"]\n" "\n" "# Add data\n" @@ -5886,19 +6099,148 @@ msgid "" "articles.add(:content => \"Rroonga is fast\")\n" "articles.add(:content => \"Mroonga is fast\")\n" "\n" -"# Estimate the number of documents found by token record\n" -"p****@index*****_size(@terms[\"fast\"]) # => 7\n" -"p****@index*****_size(@terms[\"Groonga\"]) # => 1" +"# Estimate the number of documents found by query\n" +"p****@index*****_size(\"roonga\") # => 6" msgstr "" # @example -msgid "tag|example|Token record style" +msgid "tag|example|Lexicon cursor style" +msgstr "" + +# @example Lexicon cursor style +msgid "" +"# Define schema\n" +"Groonga::Schema.define do |schema|\n" +" schema.create_table(\"Memos\",\n" +" :type => :hash,\n" +" :key_type => \"ShortText\") do |table|\n" +" table.short_text(\"tags\", :type => :vector)\n" +" end\n" +"\n" +" schema.create_table(\"Tags\",\n" +" :type => :patricia_trie,\n" +" :key_type => \"ShortText\") do |table|\n" +" table.index(\"Memos.tags\",\n" +" :name => \"memos_tags\")\n" +" end\n" +"end\n" +"memos = Groonga[\"Memos\"]\n" +"tags = Groonga[\"Tags\"]\n" +"index = Groonga[\"Tags.memos_tags\"]\n" +"\n" +"# Add data\n" +"memos.add(:tags => [\"Groonga\"])\n" +"memos.add(:tags => [\"Rroonga\", \"Ruby\"])\n" +"memos.add(:tags => [\"grndump\", \"Rroonga\"])\n" +"\n" +"# Estimate the number of documents found by lexicon cursor\n" +"# Iterates tags that start with \"R\".\n" +"tags.open_prefix_cursor(\"R\") do |cursor|\n" +" # The cursor iterates \"Rroonga\" and \"Ruby\".\n" +" p index.estimate_size(cursor) # => 6\n" +"end" +msgstr "" + +# @overload +msgid "tag|param|token_id" +msgstr "" + +# @param [Integer, Record] token_id +msgid "The token ID to be estimated." +msgstr "" + +# @return [Integer] +msgid "" +"The estimated number of documents found by the\n" +"given token ID." +msgstr "" + +# @param [String] query +msgid "The query to be estimated." +msgstr "" + +# @return [Integer] +msgid "" +"The estimated number of documents found by the\n" +"given query." +msgstr "" + +# @param [Groonga::TableCursor] +msgid "tag|param|lexicon_cursor" +msgstr "" + +# @param [Groonga::TableCursor] lexicon_cursor +msgid "The cursor for lexicon." +msgstr "" + +# @return [Integer] +msgid "" +"The estimated number of documents found by term IDS\n" +"in the given lexicon cursor." +msgstr "" + +# Groonga::IndexColumn#reindex +msgid "Recreates the index column." +msgstr "" + +# Groonga::IndexColumn#reindex +msgid "This method is useful when you have a broken index column." +msgstr "" + +# Groonga::IndexColumn#reindex +msgid "" +"You can use {Groonga::FixSizeColumn#reindex} or\n" +"{Groonga::VariableSizeColumn#reindex} to recreate all index\n" +"columns. They use index columns of the data column as\n" +"reindex target index columns." +msgstr "" + +# @example +msgid "tag|example|How to recreate the index column." +msgstr "" + +# @example How to recreate the index column. +msgid "" +"Groonga::Schema.define do |schema|\n" +" schema.create_table(\"Memos\") do |table|\n" +" table.short_text(\"title\")\n" +" table.text(\"content\")\n" +" end\n" +"\n" +" schema.create_table(\"BigramTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenBigram\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"\n" +" schema.create_table(\"MeCabTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenMecab\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"end\n" +"\n" +"Groonga[\"MeCabTerms.Memos_content\"].reindex\n" +"# They aren't called:\n" +"# Groonga[\"BigramTerms.Memos_title\"].reindex\n" +"# Groonga[\"BigramTerms.Memos_content\"].reindex\n" +"# Groonga[\"MeCabTerms.Memos_title\"].reindex" msgstr "" # Groonga::LessEqualOperator#exec msgid "Executes a less-or-equal operation." msgstr "" +# @example +msgid "tag|example|Executes less-or-equal operations with the default context" +msgstr "" + # @example Executes less-or-equal operations with the default context msgid "" "Groonga::Operator::LESS_EQUAL.exec(1, 1) # => true\n" @@ -5907,7 +6249,7 @@ msgid "" msgstr "" # @example -msgid "tag|example|Executes less-or-equal operations with the default context" +msgid "tag|example|Executes less-or-equal operations with the specified context" msgstr "" # @example Executes less-or-equal operations with the specified context @@ -5921,10 +6263,6 @@ msgid "" " :context => context) # => false" msgstr "" -# @example -msgid "tag|example|Executes less-or-equal operations with the specified context" -msgstr "" - # @return [Boolean] msgid "" "`true` if `x` is less than or equal to`y`,\n" @@ -5935,14 +6273,18 @@ msgstr "" msgid "Executes a less operation." msgstr "" -# @return [Boolean] +# @example +msgid "tag|example|Executes less operations with the default context" +msgstr "" + +# @example Executes less operations with the default context msgid "" -"`true` if `x` is less than `y`, `false`\n" -"otherwise." +"Groonga::Operator::LESS.exec(1, 2) # => true\n" +"Groonga::Operator::LESS.exec(2, 1) # => false" msgstr "" # @example -msgid "tag|example|Executes less operations with the default context" +msgid "tag|example|Executes less operations with the specified context" msgstr "" # @example Executes less operations with the specified context @@ -5954,14 +6296,10 @@ msgid "" " :context => context) # => false" msgstr "" -# @example Executes less operations with the default context +# @return [Boolean] msgid "" -"Groonga::Operator::LESS.exec(1, 2) # => true\n" -"Groonga::Operator::LESS.exec(2, 1) # => false" -msgstr "" - -# @example -msgid "tag|example|Executes less operations with the specified context" +"`true` if `x` is less than `y`, `false`\n" +"otherwise." msgstr "" msgid "groongaから出力されるログを記録するためのクラス。" @@ -5972,6 +6310,14 @@ msgstr "" msgid "Logs a message." msgstr "" +# @overload +msgid "tag|overload|log" +msgstr "" + +# @overload +msgid "tag|param|message" +msgstr "" + # @param [String] message msgid "The log message." msgstr "" @@ -5980,15 +6326,11 @@ msgstr "" msgid "5.0.2" msgstr "" -# @overload -msgid "tag|overload|log" +msgid "groongaがログを出力する度に呼び出されるブロックを登録する。" msgstr "" # @overload -msgid "tag|param|message" -msgstr "" - -msgid "groongaがログを出力する度に呼び出されるブロックを登録する。" +msgid "tag|overload|register" msgstr "" # @yield [event, level, time, title, message, location] @@ -5999,10 +6341,6 @@ msgid "" "渡さないようにすることができ、その場合は空文字列が実際には渡される。" msgstr "" -# @overload -msgid "tag|overload|register" -msgstr "" - # Groonga::Logger.unregister msgid "" "Unregister the registered logger. The default logger is used after\n" @@ -6031,16 +6369,16 @@ msgstr "" msgid "The max level of the current logger." msgstr "" -# @param [Symbol, String] max_level -msgid "The max level." +# @overload +msgid "tag|overload|max_level=" msgstr "" # @overload msgid "tag|param|max_level" msgstr "" -# @overload -msgid "tag|overload|max_level=" +# @param [Symbol, String] max_level +msgid "The max level." msgstr "" # Groonga::Logger.max_level= @@ -6051,6 +6389,10 @@ msgstr "" msgid "Gets the current log path that is used by the default logger." msgstr "" +# @overload +msgid "tag|overload|path" +msgstr "" + # @return [String or nil] msgid "The current log path" msgstr "" @@ -6059,10 +6401,6 @@ msgstr "" msgid "3.0.1" msgstr "" -# @overload -msgid "tag|overload|path" -msgstr "" - # Groonga::Logger.path= msgid "" "Sets the log path that is used by the default logger. If you're using\n" @@ -6076,34 +6414,34 @@ msgid "" "disabled." msgstr "" -# @overload -msgid "tag|overload|path=" -msgstr "" - -# @param [String, nil] -msgid "tag|param|path" +# @example +msgid "tag|example|Changes the log path for the default logger" msgstr "" -# @param [String or nil] path -msgid "" -"The log path for the default logger.\n" -"If nil is specified, logging by the default logger is disabled." +# @example Changes the log path for the default logger +msgid "Groonga::Logger.path = \"/tmp/groonga.log\"" msgstr "" # @example msgid "tag|example|Disables log by the default logger" msgstr "" -# @example Changes the log path for the default logger -msgid "Groonga::Logger.path = \"/tmp/groonga.log\"" -msgstr "" - # @example Disables log by the default logger msgid "Groonga::Logger.path = nil" msgstr "" -# @example -msgid "tag|example|Changes the log path for the default logger" +# @overload +msgid "tag|overload|path=" +msgstr "" + +# @param [String, nil] +msgid "tag|param|path" +msgstr "" + +# @param [String or nil] path +msgid "" +"The log path for the default logger.\n" +"If nil is specified, logging by the default logger is disabled." msgstr "" # Groonga::Logger.rotate_threshold_size @@ -6146,34 +6484,34 @@ msgid "" "is disabled by default." msgstr "" -# @overload -msgid "tag|param|size" +# @example +msgid "tag|example|Changes the rotate threshold size for the default logger" msgstr "" -# @overload -msgid "tag|overload|rotate_threshold_size=" +# @example Changes the rotate threshold size for the default logger +msgid "Groonga::Logger.rotate_threshold_size = 1 * 1024 * 1024 # 1MiB" msgstr "" -# @param [Integer] size -msgid "" -"The log path for the default logger.\n" -"If nil is specified, log rotate by the default logger is disabled." +# @example +msgid "tag|example|Disables log ration by the default logger" msgstr "" # @example Disables log ration by the default logger msgid "Groonga::Logger.rotate_threshold_size = 0" msgstr "" -# @example -msgid "tag|example|Disables log ration by the default logger" +# @overload +msgid "tag|overload|rotate_threshold_size=" msgstr "" -# @example Changes the rotate threshold size for the default logger -msgid "Groonga::Logger.rotate_threshold_size = 1 * 1024 * 1024 # 1MiB" +# @overload +msgid "tag|param|size" msgstr "" -# @example -msgid "tag|example|Changes the rotate threshold size for the default logger" +# @param [Integer] size +msgid "" +"The log path for the default logger.\n" +"If nil is specified, log rotate by the default logger is disabled." msgstr "" # Groonga::MatchOperator#exec @@ -6182,10 +6520,27 @@ msgid "" "contains `sub_text` or not." msgstr "" -# @return [Boolean] +# @example +msgid "tag|example|Executes match operations with the default context" +msgstr "" + +# @example Executes match operations with the default context msgid "" -"`true` if `text` contains `sub_text`, `false`\n" -"otherwise." +"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Rroonga\") # => true\n" +"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Groonga\") # => false" +msgstr "" + +# @example +msgid "tag|example|Executes match operations with the specified context" +msgstr "" + +# @example Executes match operations with the specified context +msgid "" +"context = Groonga::Context.new\n" +"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Rroonga\",\n" +" :context => context) # => true\n" +"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Groonga\",\n" +" :context => context) # => false" msgstr "" # @overload @@ -6204,27 +6559,10 @@ msgstr "" msgid "The sub text to be contained." msgstr "" -# @example Executes match operations with the specified context -msgid "" -"context = Groonga::Context.new\n" -"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Rroonga\",\n" -" :context => context) # => true\n" -"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Groonga\",\n" -" :context => context) # => false" -msgstr "" - -# @example Executes match operations with the default context +# @return [Boolean] msgid "" -"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Rroonga\") # => true\n" -"Groonga::Operator::MATCH.exec(\"Hello Rroonga\", \"Groonga\") # => false" -msgstr "" - -# @example -msgid "tag|example|Executes match operations with the default context" -msgstr "" - -# @example -msgid "tag|example|Executes match operations with the specified context" +"`true` if `text` contains `sub_text`, `false`\n" +"otherwise." msgstr "" msgid "It normalizes string." @@ -6248,13 +6586,13 @@ msgstr "" msgid "The original string" msgstr "" -msgid "The normalized string" -msgstr "" - # @param [::Hash] options msgid "The optional parameters." msgstr "" +msgid "The normalized string" +msgstr "" + # Groonga::NotEqualOperator#exec msgid "Executes a not-equal operation." msgstr "" @@ -6263,14 +6601,14 @@ msgstr "" msgid "tag|example|Executes not-equal operations with the default context" msgstr "" -# @example -msgid "tag|example|Executes not-equal operations with the specified context" +# @example Executes not-equal operations with the default context +msgid "" +"Groonga::Operator::NOT_EQUAL.exec(\"hello\", \"Hello\") # => true\n" +"Groonga::Operator::NOT_EQUAL.exec(\"hello\", \"hello\") # => false" msgstr "" -# @return [Boolean] -msgid "" -"`true` if `x` does not equal to `y`, `false`\n" -"otherwise." +# @example +msgid "tag|example|Executes not-equal operations with the specified context" msgstr "" # @example Executes not-equal operations with the specified context @@ -6282,10 +6620,10 @@ msgid "" " :context => context) # => false" msgstr "" -# @example Executes not-equal operations with the default context +# @return [Boolean] msgid "" -"Groonga::Operator::NOT_EQUAL.exec(\"hello\", \"Hello\") # => true\n" -"Groonga::Operator::NOT_EQUAL.exec(\"hello\", \"hello\") # => false" +"`true` if `x` does not equal to `y`, `false`\n" +"otherwise." msgstr "" # Groonga::Object @@ -6433,75 +6771,131 @@ msgstr "" msgid "Checks whether the object is table or not." msgstr "" -# @return [Boolean] -msgid "`true` if the object is table, `false` otherwise." -msgstr "" - # @overload msgid "tag|overload|table?" msgstr "" +# @return [Boolean] +msgid "`true` if the object is table, `false` otherwise." +msgstr "" + # Groonga::Object#procedure? msgid "Checks whether the object is procedure or not." msgstr "" +# @overload +msgid "tag|overload|procedure?" +msgstr "" + # @return [Boolean] msgid "`true` if the object is procedure, `false` otherwise." msgstr "" +msgid "Checks whether the object is function procedure or not." +msgstr "" + # @overload -msgid "tag|overload|procedure?" +msgid "tag|overload|function_procedure?" +msgstr "" + +# @return [Boolean] +msgid "" +"`true` if the object is function procedure,\n" +"`false` otherwise." +msgstr "" + +msgid "Checks whether the object is selector procedure or not." +msgstr "" + +# @overload +msgid "tag|overload|selector_procedure?" +msgstr "" + +# @return [Boolean] +msgid "" +"`true` if the object is selector procedure,\n" +"`false` otherwise." +msgstr "" + +msgid "Checks whether the object is selector only procedure or not." +msgstr "" + +# @overload +msgid "tag|overload|selector_only_procedure?" +msgstr "" + +# @return [Boolean] +msgid "" +"`true` if the object is selector only procedure,\n" +"`false` otherwise." +msgstr "" + +msgid "Checks whether the object is scorer procedure or not." msgstr "" -msgid "Checks whether the object is function procedure or not." +# @overload +msgid "tag|overload|scorer_procedure?" msgstr "" # @return [Boolean] msgid "" -"`true` if the object is function procedure,\n" +"`true` if the object is scorer procedure,\n" "`false` otherwise." msgstr "" -# @overload -msgid "tag|overload|function_procedure?" +# Groonga::Object#accessor? +msgid "Checks whether the object is accessor or not." msgstr "" -msgid "Checks whether the object is selector procedure or not." -msgstr "" +# @overload +#, fuzzy +msgid "tag|overload|accessor?" +msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" # @return [Boolean] msgid "" -"`true` if the object is selector procedure,\n" +"`true` if the object is accessor,\n" "`false` otherwise." msgstr "" -# @overload -msgid "tag|overload|selector_procedure?" +# Groonga::Object#key_accessor? +msgid "Checks whether the object is key accessor or not." msgstr "" -msgid "Checks whether the object is selector only procedure or not." +# @example +msgid "" +"tag|example|`true` case: `column(\"_key\")` is an accessor and it's an accessor " +"for `_key`" msgstr "" -# @overload -msgid "tag|overload|selector_only_procedure?" +# @example `true` case: `column("_key")` is an accessor and it's an accessor for `_key` +msgid "" +"Groonga::Schema.create_table(\"Users\", :key_type => :short_text)\n" +"users = Groonga[\"Users\"]\n" +"users.column(\"_key\").key_accessor? # => true" msgstr "" -# @return [Boolean] +# @example msgid "" -"`true` if the object is selector only procedure,\n" -"`false` otherwise." +"tag|example|`false` case: `column(\"_id\")` is an accessor but it's not an acces" +"sor for `_key`" msgstr "" -msgid "Checks whether the object is scorer procedure or not." +# @example `false` case: `column("_id")` is an accessor but it's not an accessor for `_key` +msgid "" +"Groonga::Schema.create_table(\"Users\", :key_type => :short_text)\n" +"users = Groonga[\"Users\"]\n" +"users.column(\"_id\").key_accessor? # => false" msgstr "" # @overload -msgid "tag|overload|scorer_procedure?" -msgstr "" +#, fuzzy +msgid "tag|overload|key_accessor?" +msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" # @return [Boolean] msgid "" -"`true` if the object is scorer procedure,\n" +"`true` if the object is key accessor,\n" "`false` otherwise." msgstr "" @@ -6629,8 +7023,8 @@ msgstr "" msgid "tag|overload|scan" msgstr "" -# @yieldparam length -msgid "_word_ の長さ。(バイト単位)" +# @yieldparam record +msgid "マッチしたキーの {Groonga::Record} 。" msgstr "" # @yieldparam @@ -6653,8 +7047,8 @@ msgstr "" msgid "tag|yieldparam|length" msgstr "" -# @yieldparam record -msgid "マッチしたキーの {Groonga::Record} 。" +# @yieldparam length +msgid "_word_ の長さ。(バイト単位)" msgstr "" # Groonga::PatriciaTrie#prefix_search @@ -6714,14 +7108,14 @@ msgstr "" msgid "登録するプラグインの名前" msgstr "" -# @param [::Hash] hash -msgid "_:path_ と _:context_ を指定したハッシュを指定する。" -msgstr "" - # @param [::Hash] msgid "tag|param|hash" msgstr "" +# @param [::Hash] hash +msgid "_:path_ と _:context_ を指定したハッシュを指定する。" +msgstr "" + # Groonga::Plugin.register msgid "_name_ で指定した名前のプラグインを登録する。" msgstr "" @@ -6746,6 +7140,16 @@ msgid "" msgstr "" # @example +msgid "tag|example|Unregister a registerd plugin by name." +msgstr "" + +# @example Unregister a registerd plugin by name. +msgid "" +"Groonga::Plugin.register(\"token_filters/stop_word\")\n" +"Groonga::Plugin.unregister(\"token_filters/stop_word\")" +msgstr "" + +# @example msgid "tag|example|unregister a registerd plugin by path" msgstr "" @@ -6760,20 +7164,10 @@ msgstr "" msgid "The name of plugin." msgstr "" -# @example -msgid "tag|example|Unregister a registerd plugin by name." -msgstr "" - # @param [::Hash] options msgid "The name and value pairs." msgstr "" -# @example Unregister a registerd plugin by name. -msgid "" -"Groonga::Plugin.register(\"token_filters/stop_word\")\n" -"Groonga::Plugin.unregister(\"token_filters/stop_word\")" -msgstr "" - # Groonga::Plugin.unregister msgid "" "Unregister specified `name` plugin.\n" @@ -6801,14 +7195,33 @@ msgstr "" msgid "tag|overload|ruby_suffix" msgstr "" +# Groonga::Plugin.names +msgid "Returns the names of loaded plugins." +msgstr "" + +# @overload +#, fuzzy +msgid "tag|overload|names" +msgstr "登録されたロガーの登録を削除する。削除後はデフォルトのロガーが使われます。" + # Groonga::PrefixOperator#exec msgid "" "Executes a prefix-search operation. Prefix-serach operation checks\n" "whether `text` starts with `prefix` or not." msgstr "" -# @param [String] text -msgid "The text to be searched." +# @example +msgid "tag|example|Executes prefix-search operations with the default context" +msgstr "" + +# @example Executes prefix-search operations with the default context +msgid "" +"Groonga::Operator::PREFIX.exec(\"Hello Rroonga\", \"Hello\") # => true\n" +"Groonga::Operator::PREFIX.exec(\"Hello Rroonga\", \"Rroonga\") # => false" +msgstr "" + +# @example +msgid "tag|example|Executes prefix-search operations with the specified context" msgstr "" # @example Executes prefix-search operations with the specified context @@ -6820,18 +7233,12 @@ msgid "" " :context => context) # => false" msgstr "" -# @example -msgid "tag|example|Executes prefix-search operations with the specified context" -msgstr "" - -# @example Executes prefix-search operations with the default context -msgid "" -"Groonga::Operator::PREFIX.exec(\"Hello Rroonga\", \"Hello\") # => true\n" -"Groonga::Operator::PREFIX.exec(\"Hello Rroonga\", \"Rroonga\") # => false" +# @param [String] text +msgid "The text to be searched." msgstr "" -# @example -msgid "tag|example|Executes prefix-search operations with the default context" +# @param [String] prefix +msgid "The prefix to be contained." msgstr "" # @return [Boolean] @@ -6840,10 +7247,6 @@ msgid "" "otherwise." msgstr "" -# @param [String] prefix -msgid "The prefix to be contained." -msgstr "" - # Groonga::QueryLogger msgid "A class for logging query log." msgstr "" @@ -6858,16 +7261,16 @@ msgstr "" msgid "tag|param|logger" msgstr "" -# @yield [action, flag, timestamp, info, message] -msgid "..." -msgstr "" - # @param [#log, #reopen, #fin] logger msgid "" "The query logger. It is easy to\n" "inherit {QueryLogger}." msgstr "" +# @yield [action, flag, timestamp, info, message] +msgid "..." +msgstr "" + # Groonga::QueryLogger.reopen msgid "" "Sends reopen request to the current query logger. It is useful for\n" @@ -6896,6 +7299,14 @@ msgid "" msgstr "" # @example +msgid "tag|example|Changes the query log path for the default query logger" +msgstr "" + +# @example Changes the query log path for the default query logger +msgid "Groonga::QueryLogger.path = \"/tmp/query.log\"" +msgstr "" + +# @example msgid "tag|example|Disables query log by the default query logger" msgstr "" @@ -6910,14 +7321,6 @@ msgid "" "is disabled." msgstr "" -# @example -msgid "tag|example|Changes the query log path for the default query logger" -msgstr "" - -# @example Changes the query log path for the default query logger -msgid "Groonga::QueryLogger.path = \"/tmp/query.log\"" -msgstr "" - # Groonga::QueryLogger.rotate_threshold_size msgid "" "Gets the current rotate threshold size that is used by the default\n" @@ -6944,6 +7347,10 @@ msgid "" "logger is disabled." msgstr "" +# @example +msgid "tag|example|Changes the rotate threshold size for the default query logger" +msgstr "" + # @example Changes the rotate threshold size for the default query logger msgid "Groonga::QueryLogger.rotate_threshold_size = 1 * 1024 * 1024 # 1MiB" msgstr "" @@ -6952,10 +7359,6 @@ msgstr "" msgid "tag|example|Disables log ration by the default query logger" msgstr "" -# @example -msgid "tag|example|Changes the rotate threshold size for the default query logger" -msgstr "" - # @example Disables log ration by the default query logger msgid "Groonga::QueryLogger.rotate_threshold_size = 0" msgstr "" @@ -6971,12 +7374,22 @@ msgstr "" msgid "Executes a regular expression match operation." msgstr "" -# @param [Regexp] regexp -msgid "The regular expression." +# @example +msgid "" +"tag|example|Executes regular expression match operations with the default cont" +"ext" msgstr "" -# @overload -msgid "tag|param|regexp" +# @example Executes regular expression match operations with the default context +msgid "" +"Groonga::Operator::REGEXP.exec(\"Hello Rroonga\", /Rro+nga/) # => true\n" +"Groonga::Operator::REGEXP.exec(\"Hello Rroonga\", /Gro+nga/) # => false" +msgstr "" + +# @example +msgid "" +"tag|example|Executes regular expression match operations with the specified co" +"ntext" msgstr "" # @example Executes regular expression match operations with the specified context @@ -6988,22 +7401,12 @@ msgid "" " :context => context) # => false" msgstr "" -# @example -msgid "" -"tag|example|Executes regular expression match operations with the specified co" -"ntext" -msgstr "" - -# @example Executes regular expression match operations with the default context -msgid "" -"Groonga::Operator::REGEXP.exec(\"Hello Rroonga\", /Rro+nga/) # => true\n" -"Groonga::Operator::REGEXP.exec(\"Hello Rroonga\", /Gro+nga/) # => false" +# @overload +msgid "tag|param|regexp" msgstr "" -# @example -msgid "" -"tag|example|Executes regular expression match operations with the default cont" -"ext" +# @param [Regexp] regexp +msgid "The regular expression." msgstr "" # @return [Boolean] @@ -7022,10 +7425,6 @@ msgstr "" msgid "_keyword_ を追加する。" msgstr "" -# @param [String] keyword -msgid "追加するキーワード" -msgstr "" - # @overload msgid "tag|overload|add_keyword" msgstr "" @@ -7034,16 +7433,20 @@ msgstr "" msgid "tag|param|keyword" msgstr "" -msgid "_string_ を走査し、スニペットを作成する。" +# @param [String] keyword +msgid "追加するキーワード" msgstr "" -msgid "作成されたスニペットの配列" +msgid "_string_ を走査し、スニペットを作成する。" msgstr "" # @param [String] string msgid "走査する文字列" msgstr "" +msgid "作成されたスニペットの配列" +msgstr "" + msgid "" "主キーを持つテーブル用のカーソルであるGroonga::HashCursor\n" "とGroonga::PatriciaTrieCursorに主キーの機能を提供するモジ\n" @@ -7068,25 +7471,25 @@ msgstr "" msgid "カレントレコードの値を返す。" msgstr "" -# @return [String] -msgid "カレントレコードの値" -msgstr "" - # @overload msgid "tag|overload|value" msgstr "" -msgid "カレントレコードの値を設定する。既存の値は上書きされる。" +# @return [String] +msgid "カレントレコードの値" msgstr "" -# @param [String] value -msgid "カレントレコードに設定する値" +msgid "カレントレコードの値を設定する。既存の値は上書きされる。" msgstr "" # @overload msgid "tag|overload|value=" msgstr "" +# @param [String] value +msgid "カレントレコードに設定する値" +msgstr "" + msgid "カレントレコードを削除する。" msgstr "" @@ -7139,6 +7542,10 @@ msgstr "" msgid "tag|overload|has_key?" msgstr "" +# @param [Integer] id +msgid "The ID of delete target record." +msgstr "" + # @yield [record] # @yieldparam [Groonga::RecodExpressionBuilder] record # @yieldreturn [Groonga::ExpressionBuilder] @@ -7149,17 +7556,13 @@ msgstr "" msgid "The key of delete target record." msgstr "" -# @param [Integer] id -msgid "The ID of delete target record." -msgstr "" - +# Groonga::Table#delete # Groonga::Table::KeySupport#delete -msgid "Delete a record that has key @key �� ." +msgid "Delete a record that has ID @id �� ." msgstr "" -# Groonga::Table#delete # Groonga::Table::KeySupport#delete -msgid "Delete a record that has ID @id �� ." +msgid "Delete a record that has key @key �� ." msgstr "" # Groonga::Table::KeySupport#[] @@ -7180,14 +7583,14 @@ msgstr "" msgid "0.9.0から値ではなくカラムの値を設定するようになった。" msgstr "" -# @param [::Hash] values -msgid "keyに対応させるカラムの値。{ :column_name => value, ... }の形で設定する。" -msgstr "" - # @param [::Hash] msgid "tag|param|values" msgstr "" +# @param [::Hash] values +msgid "keyに対応させるカラムの値。{ :column_name => value, ... }の形で設定する。" +msgstr "" + # Groonga::Table::KeySupport#set_column_value msgid "" "_table_ の _key_ に対応するカラム _name_ の値を設定する。\n" @@ -7275,14 +7678,14 @@ msgid "" "table.token_filters = [\"TokenFilterStem\", \"TokenFilterStopWord\"]" msgstr "" -# @param [::Array<String>] -msgid "tag|param|token_filters" -msgstr "" - # @overload msgid "tag|overload|token_filters=" msgstr "" +# @param [::Array<String>] +msgid "tag|param|token_filters" +msgstr "" + # @param [::Array<String>] token_filters msgid "Token filter names." msgstr "" @@ -7299,19 +7702,6 @@ msgstr "" msgid "Specifies the normalizer used by {Groonga::IndexColumn}." msgstr "" -# @param [String] name -msgid "Set a nomalizer named @name �� ." -msgstr "" - -# @param [Groonga::Procedure] -# @param [nil] -msgid "tag|param|normalizer" -msgstr "" - -# @param [Groonga::Procedure] normalizer -msgid "Set the normalizer object." -msgstr "" - # @example msgid "" "# Uses NFKC normalizer.\n" @@ -7322,12 +7712,25 @@ msgid "" "table.normalizer = \"TNormalizerAuto\"" msgstr "" -# @param [nil] normalizer -msgid "Unset normalizer." +# @overload +msgid "tag|overload|normalizer=" +msgstr "" + +# @param [String] name +msgid "Set a nomalizer named @name �� ." +msgstr "" + +# @param [Groonga::Procedure] +# @param [nil] +msgid "tag|param|normalizer" +msgstr "" + +# @param [Groonga::Procedure] normalizer +msgid "Set the normalizer object." msgstr "" -# @overload -msgid "tag|overload|normalizer=" +# @param [nil] normalizer +msgid "Unset normalizer." msgstr "" msgid "" @@ -7352,16 +7755,69 @@ msgstr "" msgid "Tokenize a string using the table as lexicon." msgstr "" -# @return [::Array<Groonga::Record>] -msgid "Tokenized tokens." +# @overload +msgid "tag|overload|tokenize" msgstr "" # @param [String] string msgid "The string to be tokenized." msgstr "" -# @overload -msgid "tag|overload|tokenize" +# @return [::Array<Groonga::Record>] +msgid "Tokenized tokens." +msgstr "" + +# Groonga::Table::KeySupport#reindex +msgid "Recreates all index columns in the table." +msgstr "" + +# Groonga::Table::KeySupport#reindex +msgid "" +"This method is useful when you have any broken index columns in\n" +"the table. You don't need to specify each index column. But this\n" +"method spends more time rather than you specify only reindex\n" +"needed index columns." +msgstr "" + +# @example +msgid "tag|example|How to recreate all index columns in the table" +msgstr "" + +# @example How to recreate all index columns in the table +msgid "" +"Groonga::Schema.define do |schema|\n" +" schema.create_table(\"Memos\") do |table|\n" +" table.short_text(\"title\")\n" +" table.text(\"content\")\n" +" end\n" +"\n" +" schema.create_table(\"BigramTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenBigram\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"\n" +" schema.create_table(\"MeCabTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenMecab\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"end\n" +"\n" +"Groonga[\"BigramTerms\"].reindex\n" +"# They are called:\n" +"# Groonga[\"BigramTerms.Memos_title\"].reindex\n" +"# Groonga[\"BigramTerms.Memos_content\"].reindex\n" +"#\n" +"# They aren't called:\n" +"# Groonga[\"MeCabTerms.Memos_title\"].reindex\n" +"# Groonga[\"MeCabTerms.Memos_content\"].reindex" msgstr "" # Groonga::Table @@ -7533,25 +7989,6 @@ msgid "" "=:" msgstr "" -# @note -msgid "" -"The return value is changed to {Groonga::Array} from\n" -"{::Array} since 2.1.0. If you want to get before 2.1.0 style\n" -"result, use the following code:" -msgstr "" - -# @example Describe incompatible API change -msgid "" -"result_since_2_1_0 = table.sort([\"sort_key\"])\n" -"result_before_2_1_0 = result_since_2_1_0.collect do |record|\n" -" record.value\n" -"end" -msgstr "" - -# @example -msgid "tag|example|Describe incompatible API change" -msgstr "" - # @overload msgid "tag|overload|sort" msgstr "" @@ -7578,6 +8015,25 @@ msgid "" "get the original record." msgstr "" +# @note +msgid "" +"The return value is changed to {Groonga::Array} from\n" +"{::Array} since 2.1.0. If you want to get before 2.1.0 style\n" +"result, use the following code:" +msgstr "" + +# @example +msgid "tag|example|Describe incompatible API change" +msgstr "" + +# @example Describe incompatible API change +msgid "" +"result_since_2_1_0 = table.sort([\"sort_key\"])\n" +"result_before_2_1_0 = result_since_2_1_0.collect do |record|\n" +" record.value\n" +"end" +msgstr "" + # Groonga::Table#geo_sort msgid "" "Sorts records in the table by `TokyoGeoPoint` or `WGS84GeoPoint`\n" @@ -7653,20 +8109,20 @@ msgstr "" msgid "Iterates each sub records for the record _id_." msgstr "" -# @yieldparam [Record] -msgid "tag|yieldparam|sub_record" +# @overload +msgid "tag|overload|each_sub_record" msgstr "" # @yield [sub_record] msgid "Gives a sub record for the record _id_ to the block." msgstr "" -# @yieldparam [Record] sub_record -msgid "A sub record for the record _id_." +# @yieldparam [Record] +msgid "tag|yieldparam|sub_record" msgstr "" -# @overload -msgid "tag|overload|each_sub_record" +# @yieldparam [Record] sub_record +msgid "A sub record for the record _id_." msgstr "" # @since @@ -7707,8 +8163,16 @@ msgid "" "@id@ ID. It overwrites the previous value." msgstr "" -# @example -msgid "tag|example|Sets vector value with weight" +# @param [Integer] id +msgid "The ID of the target record." +msgstr "" + +# @param [String or Symbol] name +msgid "The name of the target column." +msgstr "" + +# @param [::Object] value +msgid "The new value." msgstr "" # @note @@ -7719,8 +8183,8 @@ msgid "" "See {#define_index_column}." msgstr "" -# @param [Integer] id -msgid "The ID of the target record." +# @example +msgid "tag|example|Sets vector value with weight" msgstr "" # @example Sets vector value with weight @@ -7841,12 +8305,12 @@ msgstr "" msgid "The options" msgstr "" -# @param [String or Symbol] name -msgid "The name of the target column." -msgstr "" - -# @param [::Object] value -msgid "The new value." +# Groonga::Table#set_column_value +msgid "" +"Sets the vector column value and its weight. Weight is used when fulltext\n" +"search. In fulltext search, score @1@ is added when a record is matched\n" +"against a query. If weight is set, score @1 + weight@ is added when\n" +"a record is matched against a query." msgstr "" # Groonga::Table#set_column_value @@ -7866,14 +8330,6 @@ msgid "" "See other signature for usage." msgstr "" -# Groonga::Table#set_column_value -msgid "" -"Sets the vector column value and its weight. Weight is used when fulltext\n" -"search. In fulltext search, score @1@ is added when a record is matched\n" -"against a query. If weight is set, score @1 + weight@ is added when\n" -"a record is matched against a query." -msgstr "" - msgid "_table_ のロックを解除する。" msgstr "" @@ -7966,16 +8422,16 @@ msgid "" msgstr "" # Groonga::Table#select -msgid "_expression_ には既に作成済みの {Groonga::Expression} を渡す。" -msgstr "" - -# Groonga::Table#select msgid "" "_query_ には「[カラム名]:[演算子][値]」という書式で条件を\n" "指定する。演算子は以下の通り。" msgstr "" # Groonga::Table#select +msgid "_expression_ には既に作成済みの {Groonga::Expression} を渡す。" +msgstr "" + +# Groonga::Table#select msgid "参考: {Groonga::Expression#parse} ." msgstr "" @@ -8046,14 +8502,14 @@ msgid "" "+false+ を返す。" msgstr "" -# @return -msgid "@true@ if the table is created with value type, @false@" -msgstr "" - # @overload msgid "tag|overload|support_value?" msgstr "" +# @return +msgid "@true@ if the table is created with value type, @false@" +msgstr "" + # Groonga::Table#support_value? msgid "otherwise." msgstr "" @@ -8083,13 +8539,6 @@ msgid "" "it." msgstr "" -# @example A grouped table has the space -msgid "" -"users = Groonga[\"Users\"] # A normal table\n" -"grouped_users = users.group(\"_key\") # A grouped table\n" -"grouped_users.have_n_sub_records_space? # => true" -msgstr "" - # @example msgid "tag|example|A normal table don't have the space" msgstr "" @@ -8104,6 +8553,13 @@ msgstr "" msgid "tag|example|A grouped table has the space" msgstr "" +# @example A grouped table has the space +msgid "" +"users = Groonga[\"Users\"] # A normal table\n" +"grouped_users = users.group(\"_key\") # A grouped table\n" +"grouped_users.have_n_sub_records_space? # => true" +msgstr "" + # @overload msgid "tag|overload|have_n_sub_records_space?" msgstr "" @@ -8213,6 +8669,13 @@ msgid "" "ID is _id_." msgstr "" +msgid "The record ID." +msgstr "" + +# @example +msgid "tag|example|Gets weight vector value" +msgstr "" + # @example Gets weight vector value msgid "" "Groonga::Schema.define do |schema|\n" @@ -8247,23 +8710,6 @@ msgid "" "# ]" msgstr "" -# @since -msgid "4.0.1." -msgstr "" - -# @return [::Object] -msgid "" -"See {Groonga::Object#[]} for columns except\n" -"weight vector column." -msgstr "" - -msgid "The record ID." -msgstr "" - -# @example -msgid "tag|example|Gets weight vector value" -msgstr "" - # @return [Array<Hash<Symbol, String>>] msgid "" "An array of value if the column\n" @@ -8283,6 +8729,16 @@ msgid "" "@[WEIGHT]@ is a positive integer." msgstr "" +# @return [::Object] +msgid "" +"See {Groonga::Object#[]} for columns except\n" +"weight vector column." +msgstr "" + +# @since +msgid "4.0.1." +msgstr "" + # Groonga::VariableSizeColumn#[]= msgid "" "It updates a value of variable size column value for the record\n" @@ -8296,16 +8752,8 @@ msgid "" "size column works what you think." msgstr "" -# @param [::Object] value -msgid "A new value." -msgstr "" - -# @see -msgid "tag|see|Groonga::Object#[]=" -msgstr "" - -# @param [Array<Hash<Symbol, String>>] -msgid "tag|param|elements" +# @example +msgid "tag|example|Use weight vector as matrix search result weight" msgstr "" # @example Use weight vector as matrix search result weight @@ -8382,6 +8830,10 @@ msgid "" "# [\"Rroonga\", 1021] <- 1021 (= 101 * 10 + 1) increased." msgstr "" +# @param [Array<Hash<Symbol, String>>] +msgid "tag|param|elements" +msgstr "" + # @param [Array<Hash<Symbol, String>>] elements msgid "" "An array of values\n" @@ -8403,8 +8855,12 @@ msgid "" "score, you should set 9 as weight." msgstr "" -# @example -msgid "tag|example|Use weight vector as matrix search result weight" +# @param [::Object] value +msgid "A new value." +msgstr "" + +# @see +msgid "tag|see|Groonga::Object#[]=" msgstr "" # Groonga::VariableSizeColumn#[]= @@ -8423,32 +8879,69 @@ msgid "" "compressed by @type@ or not." msgstr "カラムが圧縮されているかどうかを返します。もし @type@ が指定されているなら、カラムが @type@ によって圧縮されているかどうかを返します。" -# @return [Boolean] -msgid "whether specified compressed type is used or not." +# @overload +msgid "tag|overload|compressed?" msgstr "" -# @param [:zlib, :lz4] type -msgid "(nil)" +# @return [Boolean] +msgid "whether the column is compressed or not." msgstr "" -msgid "1.3.1" +# @param [:zlib, :lz4] +msgid "tag|param|type" msgstr "" -# @overload -msgid "tag|overload|compressed?" +# @param [:zlib, :lz4] type +msgid "(nil)" msgstr "" # @return [Boolean] -msgid "whether the column is compressed or not." +msgid "whether specified compressed type is used or not." msgstr "" -# @param [:zlib, :lz4] -msgid "tag|param|type" +msgid "1.3.1" msgstr "" msgid "Defrags the column." msgstr "カラムをデフラグします。" +# @example How to recreate all index columns for the column +msgid "" +"Groonga::Schema.define do |schema|\n" +" schema.create_table(\"Memos\") do |table|\n" +" table.short_text(\"title\")\n" +" table.text(\"content\")\n" +" end\n" +"\n" +" schema.create_table(\"BigramTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenBigram\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"\n" +" schema.create_table(\"MeCabTerms\",\n" +" :type => :patricia_trie,\n" +" :key_type => :short_text,\n" +" :normalizer => \"NormalizerAuto\",\n" +" :default_tokenizer => \"TokenMecab\") do |table|\n" +" table.index(\"Memos.title\")\n" +" table.index(\"Memos.content\")\n" +" end\n" +"end\n" +"\n" +"Groonga[\"Memos.content\"].reindex\n" +"# They are called:\n" +"# Groonga[\"BigramTerms.Memos_content\"].reindex\n" +"# Groonga[\"MeCabTerms.Memos_content\"].reindex\n" +"#\n" +"# They aren't called:\n" +"# Groonga[\"BigramTerms.Memos_title\"].reindex\n" +"# Groonga[\"MeCabTerms.Memos_title\"].reindex" +msgstr "" + msgid "{Groonga::Expression} で使われる変数。" msgstr "" @@ -8462,7 +8955,10 @@ msgstr "" msgid "It's a module for using Windows Event Log as log output." msgstr "" -msgid "Copyright (C) 2011 Kouhei Sutou <kou �� clear-code.com>" +# Groonga +msgid "" +"Copyright (C) 2015 Masafumi Yokoyama <yokoyama �� clear-code.com>\n" +"Copyright (C) 2009-2016 Kouhei Sutou <kou �� clear-code.com>" msgstr "" msgid "" @@ -8484,6 +8980,14 @@ msgid "" "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA" msgstr "" +# @overload +msgid "tag|overload|error_message" +msgstr "" + +# @return [String, nil] +msgid "The process global error message." +msgstr "" + msgid "" "利用しているgroongaのバージョン。 @[メジャーバージョ\n" "ン, マイナーバージョン, マイクロバージョン, タグ]@ の\n" @@ -8543,6 +9047,26 @@ msgstr "" msgid "3.1.2" msgstr "" +# Groonga.package_label +msgid "Returns the Groonga package's label. It's `\"Groonga\"`." +msgstr "" + +# @example +msgid "tag|example|How to get the Groonga package's label" +msgstr "" + +# @example How to get the Groonga package's label +msgid "Groonga.package_label # => \"Groonga\"" +msgstr "" + +# @overload +msgid "tag|overload|package_label" +msgstr "" + +# @return [String] +msgid "`\"Groonga\"`" +msgstr "" + msgid "" "BUILD_VERSIONを\".\"で結合して<tt>\"メジャーバージョン.マ\n" "イナーバージョン.マイクロバージョン\"</tt>という形式の\n" @@ -8575,50 +9099,41 @@ msgstr "" msgid "便利メソッド。Groonga::Context.default[name]と同じ。" msgstr "" -msgid "" -"_path_ にある既存のデータベースを開く。ブロックを指定した場\n" -"合はブロックに開いたデータベースを渡し、ブロックを抜けると\n" -"きに閉じる。" +# @param [Groonga::Operator::XXX] +msgid "tag|param|operator" msgstr "" -# Groonga::Context#create_database -msgid "" -"This is convenience method. It wraps {Groonga::Database.create}\n" -"for the context." +# @param [Groonga::Operator] operator +msgid "(Groonga::Operator::MATCH)" msgstr "" -# @overload -msgid "tag|overload|create_database" +# @return [Array<Groonga::IndexColumn>] +msgid "" +"Indexes on `column` which can\n" +"execute `operator`." msgstr "" -# @example Creating a new persistent database to _"/tmp/db.groonga"_ database with block -msgid "" -"context.create_database(\"/tmp/db.groonga\") do |persistent_database|\n" -" # ...\n" -"end" +msgid "1.0.9" msgstr "" -# @example -msgid "" -"tag|example|Creating a new persistent database to _\"/tmp/db.groonga\"_ database" -" with block" +# @deprecated +msgid "since 6.0.0. Use {Groonga::Column#find_indexes} instead." msgstr "" -# @yieldparam [Groonga::Database] database msgid "" -"A newly created\n" -"persistent database for the context." +"_path_ にある既存のデータベースを開く。ブロックを指定した場\n" +"合はブロックに開いたデータベースを渡し、ブロックを抜けると\n" +"きに閉じる。" msgstr "" -# @yield [database] +# Groonga::Context#create_database msgid "" -"Yields a newly created persistent database\n" -"for the context. The database is available only in the\n" -"block." +"This is convenience method. It wraps {Groonga::Database.create}\n" +"for the context." msgstr "" -# @example -msgid "tag|example|Creating a new persistent database to _\"/tmp/db.groonga\"_" +# @overload +msgid "tag|overload|create_database" msgstr "" # @return [Groonga::Database] @@ -8640,20 +9155,31 @@ msgid "" "block." msgstr "" -# @example Creating a new persistent database to _"/tmp/db.groonga"_ -msgid "database = context.create_database(\"/tmp/db.groonga\")" -msgstr "" - # @yieldparam [Groonga::Database] database msgid "" "A newly created\n" "temporary database for the context." msgstr "" -# @return [Groonga::Database] +# @yieldreturn [Object] msgid "" -"A new persistent database for the\n" -"context." +"The returned value from the block is the\n" +"returned value from this method." +msgstr "" + +# @return +msgid "Returned value from the block." +msgstr "" + +# @example +msgid "tag|example|Creating a new temporary database with block" +msgstr "" + +# @example Creating a new temporary database with block +msgid "" +"context.create_database do |temporary_database|\n" +" # ...\n" +"end" msgstr "" # @param [String] path @@ -8662,32 +9188,48 @@ msgid "" "database." msgstr "" -# @yieldreturn [Object] +# @return [Groonga::Database] msgid "" -"The returned value from the block is the\n" -"returned value from this method." +"A new persistent database for the\n" +"context." msgstr "" -# @example Creating a new temporary database with block +# @example +msgid "tag|example|Creating a new persistent database to _\"/tmp/db.groonga\"_" +msgstr "" + +# @example Creating a new persistent database to _"/tmp/db.groonga"_ +msgid "database = context.create_database(\"/tmp/db.groonga\")" +msgstr "" + +# @yield [database] msgid "" -"context.create_database do |temporary_database|\n" -" # ...\n" -"end" +"Yields a newly created persistent database\n" +"for the context. The database is available only in the\n" +"block." +msgstr "" + +# @yieldparam [Groonga::Database] database +msgid "" +"A newly created\n" +"persistent database for the context." msgstr "" # @example -msgid "tag|example|Creating a new temporary database with block" +msgid "" +"tag|example|Creating a new persistent database to _\"/tmp/db.groonga\"_ database" +" with block" msgstr "" -# @return -msgid "Returned value from the block." +# @example Creating a new persistent database to _"/tmp/db.groonga"_ database with block +msgid "" +"context.create_database(\"/tmp/db.groonga\") do |persistent_database|\n" +" # ...\n" +"end" msgstr "" # Groonga::Context#create_database -msgid "" -"Creates a new persistent database for the context to the\n" -"_path_. The database is closed after the passed block is\n" -"finished." +msgid "Creates a new temproary database for the context." msgstr "" # Groonga::Context#create_database @@ -8697,11 +9239,14 @@ msgid "" msgstr "" # Groonga::Context#create_database -msgid "Creates a new temproary database for the context." +msgid "Creates a new persistent database for the context to the _path_." msgstr "" # Groonga::Context#create_database -msgid "Creates a new persistent database for the context to the _path_." +msgid "" +"Creates a new persistent database for the context to the\n" +"_path_. The database is closed after the passed block is\n" +"finished." msgstr "" msgid "" @@ -8724,14 +9269,6 @@ msgstr "" msgid "You can also specify the path of `name` plugin explicitly." msgstr "" -# @param [String] name -msgid "The plugin name." -msgstr "" - -# @param [String] path -msgid "The path to plugin." -msgstr "" - # @example Unregister a registerd plugin by name. msgid "" "context.register_plugin(\"token_filters/stop_word\")\n" @@ -8742,10 +9279,6 @@ msgstr "" msgid "tag|example|Unregister a registerd plugin by path." msgstr "" -# @overload -msgid "tag|overload|unregister_plugin" -msgstr "" - # @example Unregister a registerd plugin by path. msgid "" "context.register_plugin(\"token_filters/stop_word\")\n" @@ -8753,14 +9286,26 @@ msgid "" "ord.so\")" msgstr "" -# Groonga::Context#unregister_plugin -msgid "Unregister a registerd plugin by path." +# @overload +msgid "tag|overload|unregister_plugin" +msgstr "" + +# @param [String] name +msgid "The plugin name." +msgstr "" + +# @param [String] path +msgid "The path to plugin." msgstr "" # Groonga::Context#unregister_plugin msgid "Unregister a registerd plugin by name." msgstr "" +# Groonga::Context#unregister_plugin +msgid "Unregister a registerd plugin by path." +msgstr "" + msgid "" "_table_ から指定した条件にマッチするレコードの値を取得\n" "する。 _table_ はテーブル名かテーブルオブジェクトを指定\n" @@ -8782,6 +9327,16 @@ msgstr "" msgid "tag|example|Restore dumped commands as a String object." msgstr "" +# @example +msgid "" +"dumped_commands = File.read(\"dump.grn\")\n" +"context.restore(dumped_commands)" +msgstr "" + +# @example +msgid "tag|example|Restore dumped commands from a File object." +msgstr "" + # @example Restore dumped commands from a File object. msgid "" "File.open(\"dump.grn\") do |file|\n" @@ -8805,10 +9360,6 @@ msgstr "" msgid "tag|param|dumped_commands" msgstr "" -# @example -msgid "tag|example|Restore dumped commands from a File object." -msgstr "" - # @param [#each_line] dumped_commands msgid "" "commands dumped by grndump.\n" @@ -8837,12 +9388,6 @@ msgstr "" msgid "A response for a command." msgstr "" -# @example -msgid "" -"dumped_commands = File.read(\"dump.grn\")\n" -"context.restore(dumped_commands)" -msgstr "" - # Groonga::Context#push_memory_pool msgid "" "Pushes a new memory pool to the context. Temporary objects that\n" @@ -8889,7 +9434,7 @@ msgid "You can nest {#push_memory_pool} and {#pop_memory_pool} pair." msgstr "" # @example -msgid "tag|example|Pushes a new memory pool without block" +msgid "tag|example|Pushes a new memory pool with block" msgstr "" # @example Pushes a new memory pool with block @@ -8907,7 +9452,7 @@ msgid "" msgstr "" # @example -msgid "tag|example|Pushes a new memory pool with block" +msgid "tag|example|Pushes a new memory pool without block" msgstr "" # @example Pushes a new memory pool without block @@ -8924,29 +9469,8 @@ msgid "" "p adults.closed? # => true" msgstr "" -# @overload -msgid "tag|overload|push_memory_pool" -msgstr "" - -# @yield -msgid "" -"[]\n" -"Yields the block. Temporary objects created in the block\n" -"are closed automatically when the block is exited." -msgstr "" - -# @yieldreturn [Object] -msgid "" -"It is the return value of this\n" -"method call." -msgstr "" - -# @return [Object] -msgid "The value returned by the block." -msgstr "" - -# @since -msgid "3.0.5" +# @example +msgid "tag|example|Nesting push and pop pair" msgstr "" # @example Nesting push and pop pair @@ -8970,8 +9494,29 @@ msgid "" "p adults.closed? # => true" msgstr "" -# @example -msgid "tag|example|Nesting push and pop pair" +# @overload +msgid "tag|overload|push_memory_pool" +msgstr "" + +# @yield +msgid "" +"[]\n" +"Yields the block. Temporary objects created in the block\n" +"are closed automatically when the block is exited." +msgstr "" + +# @yieldreturn [Object] +msgid "" +"It is the return value of this\n" +"method call." +msgstr "" + +# @return [Object] +msgid "The value returned by the block." +msgstr "" + +# @since +msgid "3.0.5" msgstr "" # Groonga::Context#push_memory_pool @@ -9004,6 +9549,10 @@ msgid "" "this context." msgstr "" +# @deprecated +msgid "since 5.1.1. Use {Groonga::Context#config} instead." +msgstr "" + # @return [CommandExecutor] msgid "a new instance of CommandExecutor" msgstr "" @@ -9014,16 +9563,16 @@ msgid "" "of the database." msgstr "" -# @param [Options] options -msgid "The options to custom this inspector behavior." +# @param [Database] +msgid "tag|param|database" msgstr "" # @param [Database] database msgid "The database to be inspected." msgstr "" -# @param [Database] -msgid "tag|param|database" +# @param [Options] options +msgid "The options to custom this inspector behavior." msgstr "" # @return [DatabaseInspector] @@ -9104,9 +9653,6 @@ msgstr "" msgid "a new instance of TableDumper" msgstr "" -msgid "a new instance of NotEqualExpressionBuilder" -msgstr "" - msgid "Returns the value of attribute table" msgstr "" @@ -9117,11 +9663,11 @@ msgstr "" msgid "Returns the value of attribute query" msgstr "" -# @param value -msgid "the value to set the attribute syntax to." +msgid "Sets the attribute query" msgstr "" -msgid "Sets the attribute query" +# @param value +msgid "the value to set the attribute syntax to." msgstr "" msgid "Returns the value of attribute syntax" @@ -9134,6 +9680,9 @@ msgstr "" msgid "the value to set the attribute allow_pragma to." msgstr "" +msgid "Returns the value of attribute allow_pragma" +msgstr "" + # Groonga::ExpressionBuildable#allow_pragma= msgid "Sets the attribute allow_pragma" msgstr "" @@ -9142,7 +9691,7 @@ msgstr "" msgid "the value to set the attribute allow_column to." msgstr "" -msgid "Returns the value of attribute allow_pragma" +msgid "Returns the value of attribute allow_column" msgstr "" # Groonga::ExpressionBuildable#allow_column= @@ -9153,9 +9702,6 @@ msgstr "" msgid "the value to set the attribute allow_update to." msgstr "" -msgid "Returns the value of attribute allow_column" -msgstr "" - msgid "Returns the value of attribute allow_update" msgstr "緯度の値を返す。" @@ -9167,11 +9713,11 @@ msgstr "" msgid "the value to set the attribute allow_leading_not to." msgstr "" -# Groonga::ExpressionBuildable#allow_leading_not= -msgid "Sets the attribute allow_leading_not" +msgid "Returns the value of attribute allow_leading_not" msgstr "" -msgid "Returns the value of attribute allow_leading_not" +# Groonga::ExpressionBuildable#allow_leading_not= +msgid "Sets the attribute allow_leading_not" msgstr "" # @param value @@ -9197,6 +9743,10 @@ msgstr "" msgid "a new instance of OrExpressionBuilder" msgstr "" +# @return [AndNotExpressionBuilder] +msgid "a new instance of AndNotExpressionBuilder" +msgstr "" + msgid "a new instance of ColumnValueExpressionBuilder" msgstr "" @@ -9209,6 +9759,9 @@ msgstr "" msgid "a new instance of EqualExpressionBuilder" msgstr "" +msgid "a new instance of NotEqualExpressionBuilder" +msgstr "" + msgid "a new instance of MatchExpressionBuilder" msgstr "" @@ -9269,23 +9822,23 @@ msgstr "" msgid "a new instance of ColumnExpressionBuilder" msgstr "" -msgid "the value to set the attribute longitude to." -msgstr "経度の値を返す。" - msgid "the value to set the attribute latitude to." msgstr "緯度の値を返す。" -msgid "Returns the value of attribute longitude" +msgid "the value to set the attribute longitude to." msgstr "経度の値を返す。" +msgid "Returns the value of attribute latitude" +msgstr "緯度の値を返す。" + msgid "Sets the attribute latitude" msgstr "緯度の値を返す。" -msgid "Sets the attribute longitude" +msgid "Returns the value of attribute longitude" msgstr "経度の値を返す。" -msgid "Returns the value of attribute latitude" -msgstr "緯度の値を返す。" +msgid "Sets the attribute longitude" +msgstr "経度の値を返す。" # Groonga::GeoPoint#initialize # Groonga::TokyoGeoPoint#to_wgs84 @@ -9332,60 +9885,60 @@ msgstr "" msgid "a new instance of JobsStartEvent" msgstr "" -msgid "the value to set the attribute command to." +msgid "the value to set the attribute id to." msgstr "" -msgid "the value to set the attribute result to." +msgid "the newly set value" msgstr "" # @return [Object] -msgid "the current value of result" +msgid "the current value of id" +msgstr "" + +msgid "the value to set the attribute command to." msgstr "" # @return [Object] msgid "the current value of command" msgstr "" +msgid "the value to set the attribute relative_start_time to." +msgstr "緯度の値を返す。" + # @return [Object] -msgid "the current value of relative_end_time" +msgid "the current value of relative_start_time" msgstr "" -# @return [Object] -msgid "the current value of id" +msgid "the value to set the attribute relative_end_time to." msgstr "" -msgid "the newly set value" +# @return [Object] +msgid "the current value of relative_end_time" msgstr "" -msgid "the value to set the attribute id to." +msgid "the value to set the attribute result to." msgstr "" # @return [Object] -msgid "the current value of relative_start_time" +msgid "the current value of result" msgstr "" -msgid "the value to set the attribute relative_start_time to." -msgstr "緯度の値を返す。" - -msgid "the value to set the attribute relative_end_time to." +msgid "Sets the attribute id" msgstr "" -msgid "Returns the value of attribute command" -msgstr "commandの値を返す" - msgid "Returns the value of attribute id" msgstr "" -msgid "Sets the attribute relative_start_time" +msgid "Sets the attribute command" msgstr "" -msgid "Sets the attribute id" -msgstr "" +msgid "Returns the value of attribute command" +msgstr "commandの値を返す" -msgid "Returns the value of attribute relative_start_time" +msgid "Sets the attribute relative_start_time" msgstr "" -msgid "Sets the attribute result" +msgid "Returns the value of attribute relative_start_time" msgstr "" msgid "Sets the attribute relative_end_time" @@ -9394,48 +9947,59 @@ msgstr "" msgid "Returns the value of attribute relative_end_time" msgstr "" +msgid "Sets the attribute result" +msgstr "" + msgid "Returns the value of attribute result" msgstr "" -msgid "Sets the attribute command" +msgid "Returns the value of attribute job" msgstr "" -msgid "Returns the value of attribute n_queries" +msgid "Returns the value of attribute latency" msgstr "" -msgid "Returns the value of attribute min" +msgid "Returns the value of attribute elapsed" msgstr "" msgid "Returns the value of attribute qps" msgstr "" -msgid "Returns the value of attribute elapsed" +msgid "Returns the value of attribute min" msgstr "" -msgid "Returns the value of attribute latency" +msgid "Returns the value of attribute max" msgstr "" -msgid "Returns the value of attribute max" +msgid "Returns the value of attribute n_queries" msgstr "" msgid "a new instance of JobSummaryEvent" msgstr "" -msgid "Returns the value of attribute job" +msgid "Returns the value of attribute summaries" msgstr "" msgid "a new instance of JobsEndEvent" msgstr "" -msgid "Returns the value of attribute summaries" -msgstr "" - msgid "a new instance of Parser" msgstr "" msgid "a new instance of IndexColumnDumper" msgstr "" +msgid "Returns the value of attribute column" +msgstr "" + +#, fuzzy +msgid "Returns the value of attribute section" +msgstr "緯度の値を返す。" + +# @return [Index] +msgid "a new instance of Index" +msgstr "" + # @deprecated msgid "" "since 3.0.1. Use {Groonga::Logger.path}\n" @@ -9699,10 +10263,10 @@ msgstr "" msgid "Updates all values." msgstr "" -msgid "tag|option|parameters" +msgid "tag|param|parameters" msgstr "" -msgid "tag|param|parameters" +msgid "tag|option|parameters" msgstr "" msgid "1.2.1" @@ -9711,14 +10275,14 @@ msgstr "" msgid "Returns Hash created from attributes." msgstr "" -msgid "2.0.6" -msgstr "" - msgid "" "The record for the record ID.\n" "If table isn't assosiated, nil is returned." msgstr "" +msgid "2.0.6" +msgstr "" + msgid "" "The record for the term ID.\n" "If lexicon isn't assosiated, nil is returned." @@ -9783,10 +10347,6 @@ msgstr "" msgid "Sets column value of the record." msgstr "" -# @example Set a new value -msgid "user[\"age\"] = 29" -msgstr "" - # @param [String] msgid "tag|param|column_name" msgstr "" @@ -9799,6 +10359,14 @@ msgstr "" msgid "The column value. Weight of the value is 0." msgstr "" +# @example +msgid "tag|example|Set a new value" +msgstr "" + +# @example Set a new value +msgid "user[\"age\"] = 29" +msgstr "" + # @param [::Hash] msgid "tag|param|value_with_weight" msgstr "" @@ -9811,6 +10379,10 @@ msgstr "" msgid "tag|option|value_with_weight" msgstr "" +# @example +msgid "tag|example|Set a new value with weight \"2\"" +msgstr "" + # @example Set a new value with weight "2" msgid "user[\"tags\"] = [{:value => \"groonga\", :weight => 2}]" msgstr "" @@ -9819,14 +10391,6 @@ msgstr "" msgid "tag|see|Groonga::Table#set_column_value" msgstr "" -# @example -msgid "tag|example|Set a new value" -msgstr "" - -# @example -msgid "tag|example|Set a new value with weight \"2\"" -msgstr "" - msgid "" "このレコードの _column_name_ で指定されたカラムの値の最後に\n" "_value_ を追加する。" @@ -9907,13 +10471,13 @@ msgstr "" msgid "Sets score. Score column exists only search result table." msgstr "" -msgid "The new score." -msgstr "" - # @param [Integer] msgid "tag|param|new_score" msgstr "" +msgid "The new score." +msgstr "" + # Groonga::Record#support_score? msgid "" "{Groonga::Record#score} が利用できる場合は +true+ を\n" @@ -10110,10 +10674,10 @@ msgstr "" msgid "テーブルが存在しないときに発生する。" msgstr "" -msgid "a new instance of TableNotExists" +msgid "Returns the value of attribute name" msgstr "" -msgid "Returns the value of attribute name" +msgid "a new instance of TableNotExists" msgstr "" msgid "カラムが存在しないときに発生する。" @@ -10127,10 +10691,10 @@ msgid "" "うとしたときに発生する。" msgstr "" -msgid "a new instance of TableCreationWithDifferentOptions" +msgid "Returns the value of attribute options" msgstr "" -msgid "Returns the value of attribute options" +msgid "a new instance of TableCreationWithDifferentOptions" msgstr "" msgid "" @@ -10141,9 +10705,6 @@ msgstr "" msgid "a new instance of ColumnCreationWithDifferentOptions" msgstr "" -msgid "Returns the value of attribute column" -msgstr "" - msgid "未知のインデックス対象テーブルを指定したときに発生する。" msgstr "" @@ -10153,10 +10714,10 @@ msgstr "" msgid "未知のインデックス対象を指定したときに発生する。" msgstr "" -msgid "a new instance of UnknownIndexTarget" +msgid "Returns the value of attribute targets" msgstr "" -msgid "Returns the value of attribute targets" +msgid "a new instance of UnknownIndexTarget" msgstr "" msgid "未知のオプションを指定したときに発生する。" @@ -10174,24 +10735,24 @@ msgstr "" msgid "未知のテーブルの種類を指定したときに発生する。" msgstr "" -msgid "a new instance of UnknownTableType" -msgstr "" - msgid "Returns the value of attribute type" msgstr "" msgid "Returns the value of attribute available_types" msgstr "" -msgid "参照先のテーブルを推測できないときに発生する。" +msgid "a new instance of UnknownTableType" msgstr "" -msgid "a new instance of UnguessableReferenceTable" +msgid "参照先のテーブルを推測できないときに発生する。" msgstr "" msgid "Returns the value of attribute tried_table_names" msgstr "" +msgid "a new instance of UnguessableReferenceTable" +msgstr "" + msgid "" "スキーマを定義する。ブロックには {Groonga::Schema} オブ\n" "ジェクトがわたるので、そのオブジェクトを利用してスキー\n" @@ -10236,15 +10797,22 @@ msgstr "" # Groonga::Schema#create_table # Groonga::Schema.create_table msgid "" -"Create a table that manages record keys by patricia trie\n" -"when you specify `:patricia_trie` to `:type`." +"Create a table that manages records by ID when you specify\n" +"`:array` to `:type`." msgstr "" # Groonga::Schema#create_table # Groonga::Schema.create_table msgid "" -"Create a table that manages records by ID when you specify\n" -"`:array` to `:type`." +"Create a table that manages record keys by hash table when\n" +"you specify `:hash` to `:type`." +msgstr "" + +# Groonga::Schema#create_table +# Groonga::Schema.create_table +msgid "" +"Create a table that manages record keys by patricia trie\n" +"when you specify `:patricia_trie` to `:type`." msgstr "" # Groonga::Schema#create_table @@ -10257,16 +10825,16 @@ msgstr "" # Groonga::Schema#create_table # Groonga::Schema.create_table msgid "" -"Create a table that manages record keys by hash table when\n" -"you specify `:hash` to `:type`." +"You can identify a record only by record ID. You can't use\n" +"key because key doesn't exist in the table." msgstr "" # Groonga::Schema#create_table # Groonga::Schema.create_table msgid "" -"You can identify a record by key. The table is fast table\n" -"for finding a record by key. But the table is large. The\n" -"table supports advanced key search features such as prefix\n" +"You can identify a record by key. The table is most fast\n" +"table for finding a record by key. But the table doesn't\n" +"support advanced key search features such as common prefix\n" "search and range search." msgstr "" @@ -10282,16 +10850,9 @@ msgstr "" # Groonga::Schema#create_table # Groonga::Schema.create_table msgid "" -"You can identify a record only by record ID. You can't use\n" -"key because key doesn't exist in the table." -msgstr "" - -# Groonga::Schema#create_table -# Groonga::Schema.create_table -msgid "" -"You can identify a record by key. The table is most fast\n" -"table for finding a record by key. But the table doesn't\n" -"support advanced key search features such as common prefix\n" +"You can identify a record by key. The table is fast table\n" +"for finding a record by key. But the table is large. The\n" +"table supports advanced key search features such as prefix\n" "search and range search." msgstr "" @@ -10594,15 +11155,15 @@ msgid "" "指定する場合はこうなります。" msgstr "" +# @example +msgid "table.index(\"Users.name\")" +msgstr "" + # @param [::Hash] # @param [Array] msgid "tag|param|args" msgstr "" -# @example -msgid "table.index(\"Users.name\")" -msgstr "" - # @param [Array] args msgid "" "インデックスカラム作成時に指定できるオプション。\n" @@ -10656,16 +11217,16 @@ msgstr "" msgid "Defines a 8 bit signed integer column named @name �� ." msgstr "@name@ という名前8ビット符号付き整数のカラムを定義します。" -msgid "tag|see|#column" +msgid "the column name" msgstr "" -msgid "#column for available options." +msgid "({}) the options" msgstr "" -msgid "the column name" +msgid "tag|see|#column" msgstr "" -msgid "({}) the options" +msgid "#column for available options." msgstr "" msgid "Defines a 16 bit signed integer column named @name �� ." @@ -10766,10 +11327,10 @@ msgstr "" msgid "the value to set the attribute type to." msgstr "" -msgid "Sets the attribute type" +msgid "Sets the attribute name" msgstr "" -msgid "Sets the attribute name" +msgid "Sets the attribute type" msgstr "" msgid "a new instance of ColumnDefinition" @@ -10779,23 +11340,23 @@ msgid "a new instance of ColumnRemoveDefinition" msgstr "" # @param value -msgid "the value to set the attribute new_name to." +msgid "the value to set the attribute current_name to." msgstr "" # @param value -msgid "the value to set the attribute current_name to." +msgid "the value to set the attribute new_name to." msgstr "" -msgid "Returns the value of attribute new_name" +msgid "Returns the value of attribute current_name" msgstr "" -msgid "Sets the attribute new_name" +msgid "Sets the attribute current_name" msgstr "" -msgid "Returns the value of attribute current_name" +msgid "Returns the value of attribute new_name" msgstr "" -msgid "Sets the attribute current_name" +msgid "Sets the attribute new_name" msgstr "" msgid "a new instance of ColumnRenameDefinition" @@ -10809,6 +11370,9 @@ msgstr "" msgid "the value to set the attribute target_columns to." msgstr "" +msgid "Returns the value of attribute target_table" +msgstr "" + msgid "Sets the attribute target_table" msgstr "" @@ -10819,9 +11383,6 @@ msgstr "" msgid "Sets the attribute target_columns" msgstr "" -msgid "Returns the value of attribute target_table" -msgstr "" - msgid "a new instance of IndexColumnDefinition" msgstr "" @@ -10867,13 +11428,13 @@ msgstr "" msgid "a new instance of SubRecords" msgstr "" -msgid "A sub record." -msgstr "サブレコード。" - # @yield [record] msgid "Gives a sub record to the block." msgstr "" +msgid "A sub record." +msgstr "サブレコード。" + # @return [Array<Record>] msgid "Sub records as ::Array." msgstr "" @@ -10882,6 +11443,10 @@ msgstr "" msgid "Acts as ::Array" msgstr "" +# @param [Integer] +msgid "tag|param|index" +msgstr "" + # @param [Integer] index msgid "A 0-origin index." msgstr "" @@ -10889,7 +11454,3 @@ msgstr "" # @return [Record] msgid "A sub record at _index_." msgstr "" - -# @param [Integer] -msgid "tag|param|index" -msgstr ""