null+****@clear*****
null+****@clear*****
2012年 3月 9日 (金) 10:54:14 JST
Kouhei Sutou 2012-03-09 10:54:14 +0900 (Fri, 09 Mar 2012) New Revision: 98d039cb1e62c9ab93de1fab315d2898ec91af4d Log: test gqtp: follow dump behavior changes dump supported record dump for a table that has index column. Modified files: test/unit/gqtp/test-restore.rb Modified: test/unit/gqtp/test-restore.rb (+138 -0) =================================================================== --- test/unit/gqtp/test-restore.rb 2012-03-08 18:52:18 +0900 (d520ff5) +++ test/unit/gqtp/test-restore.rb 2012-03-09 10:54:14 +0900 (6508dfc) @@ -90,6 +90,51 @@ load --table Entry ["_key","body"], ["gcc","#{body}"] ] +load --table Terms +[ +["_key"], +["、"], +["。"], +["して"], +["しま"], +["す"], +["する"], +["て使"], +["とし"], +["ます"], +["るテ"], +["るト"], +["る場"], +["を分"], +["を指"], +["を語"], +["イザ"], +["クナ"], +["ザを"], +["テー"], +["トー"], +["ナイ"], +["ブル"], +["ルを"], +["ーク"], +["ーブ"], +["作成"], +["使用"], +["分割"], +["列を"], +["割す"], +["合"], +["場合"], +["字列"], +["定し"], +["彙表"], +["成す"], +["指定"], +["文字"], +["用す"], +["表と"], +["語彙"] +] EOC end @@ -131,6 +176,51 @@ table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer Tok table_create Entry TABLE_HASH_KEY ShortText column_create Entry body COLUMN_SCALAR ShortText column_create Terms entry_body COLUMN_INDEX Entry body +load --table Terms +[ +["_key"], +["、"], +["。"], +["して"], +["しま"], +["す"], +["する"], +["て使"], +["とし"], +["ます"], +["るテ"], +["るト"], +["る場"], +["を分"], +["を指"], +["を語"], +["イザ"], +["クナ"], +["ザを"], +["テー"], +["トー"], +["ナイ"], +["ブル"], +["ルを"], +["ーク"], +["ーブ"], +["作成"], +["使用"], +["分割"], +["列を"], +["割す"], +["合"], +["場合"], +["字列"], +["定し"], +["彙表"], +["成す"], +["指定"], +["文字"], +["用す"], +["表と"], +["語彙"] +] load --table Entry [ {"_key":"gcc","body":"#{body}"} @@ -165,6 +255,54 @@ load --table Entry ["_key","body","title"], ["gcc","#{body}","#{title}"] ] +load --table Terms +[ +["_key"], +["_"], +["default"], +["tokenizer"], +["、"], +["。"], +["して"], +["しま"], +["す"], +["する"], +["て使"], +["とし"], +["ます"], +["るテ"], +["るト"], +["る場"], +["を分"], +["を指"], +["を語"], +["イザ"], +["クナ"], +["ザを"], +["テー"], +["トー"], +["ナイ"], +["ブル"], +["ルを"], +["ーク"], +["ーブ"], +["作成"], +["使用"], +["分割"], +["列を"], +["割す"], +["合"], +["場合"], +["字列"], +["定し"], +["彙表"], +["成す"], +["指定"], +["文字"], +["用す"], +["表と"], +["語彙"] +] EOC end