null+****@clear*****
null+****@clear*****
2010年 7月 14日 (水) 17:00:54 JST
Kouhei Sutou 2010-07-14 08:00:54 +0000 (Wed, 14 Jul 2010) New Revision: 1f1775db805b7f6ef1125ecfb9bbc0bfc28df1c6 Log: update check format. Modified files: doc/ja/source/commands/check.txt Modified: doc/ja/source/commands/check.txt (+42 -30) =================================================================== --- doc/ja/source/commands/check.txt 2010-07-14 07:39:32 +0000 (0ffdd84) +++ doc/ja/source/commands/check.txt 2010-07-14 08:00:54 +0000 (78d0a2a) @@ -38,7 +38,11 @@ json形式 インデックスカラムの場合:: - 下記の項目がハッシュ形式で出力されます。 + 下記のような配列が出力されます。 + + [インデックスの状態, バッファの状態1, バッファの状態2, ...] + + ``インデックスの状態``には下記の項目がハッシュ形式で出力されます。 ``flags`` @@ -80,7 +84,6 @@ json形式 チャンクサイズの合計です。 - ``max id of chunk segments in use`` 使用中のチャンクセグメントのうち最も大きなIDです。 @@ -89,6 +92,8 @@ json形式 各チャンク毎のゴミの数です。 + ``バッファの状態``には下記の項目がハッシュ形式で出力されます。 + ``buffer id`` バッファIDです。 @@ -99,7 +104,9 @@ json形式 ``buffer term`` - バッファ内にある語の一覧です。 + バッファ内にある語の一覧です。各語の状態は以下のような配列となっています。 + + [語, バッファに登録されている語のID, 用語集に登録されている語のID, バッファ内でのサイズ, チャンク内でのサイズ] ``buffer free`` @@ -123,30 +130,35 @@ json形式 テーブルTermsのインデックスカラムnameの状態を表示します。:: check Terms.name - {"flags":"00008202", - "max sid":1, - "number of garbage segments":0, - "number of array segments":1, - "max id of array segment":1, - "number of buffer segments":110, - "max id of buffer segment":111, - "max id of physical segment in use":111, - "number of unmanaged segments":4294967185, - "total chunk size":7470239, - "max id of chunk segments in use":127, - "number of garbage chunk":[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0], - "buffer id":0, - "chunk size":94392, - "buffer term":["596","59777","6",...], - "buffer free":152944, - "size in buffer":7361, - "nterms":237, - "nterms with chunk":216, - "buffer id":1, - "chunk size":71236, - "buffer term":["に述","に追","に退",...], - "buffer free":120000, - "size in buffer":11155, - "nterms":121, - "nterms with chunk":116, - ...} + [{"flags":"00008202", + "max sid":1, + "number of garbage segments":0, + "number of array segments":1, + "max id of array segment":1, + "number of buffer segments":110, + "max id of buffer segment":111, + "max id of physical segment in use":111, + "number of unmanaged segments":4294967185, + "total chunk size":7470239, + "max id of chunk segments in use":127, + "number of garbage chunk":[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0]}, + {"buffer id":0, + "chunk size":94392, + "buffer term":["596","59777","6",...], + "buffer free":152944, + "size in buffer":7361, + "nterms":237, + "nterms with chunk":216, + "buffer id":1, + "chunk size":71236, + "buffer term":[["に述",18149,18149,2,25,6,6], + ["に追",4505,4505,76,485,136,174], + ["に退",26568,26568,2,9,2,2], + ...], + "buffer free":120000, + "size in buffer":11155, + "nterms":121, + "nterms with chunk":116}, + {"buffer id":1, + ...}, + ...]