Commit f96a5eac by mahaisong

fix:对贝格和JSON的数据 加标签,打在Tag上

parent 5193a937
 
...@@ -340,7 +340,7 @@ namespace BeigeOracle_ImportLocalES ...@@ -340,7 +340,7 @@ namespace BeigeOracle_ImportLocalES
item.FetchTime = newItem.PUB_TIME; item.FetchTime = newItem.PUB_TIME;
item.CleanText = HTMLCleaner.CleanHTML(newItem.CONT, true); item.CleanText = HTMLCleaner.CleanHTML(newItem.CONT, true);
item.ItemID = MD5Helper.getMd5Hash(item.Crawler + item.ClientItemID); item.ItemID = MD5Helper.getMd5Hash(item.Crawler + item.ClientItemID);
item.Tag = "MinderESFromBeigeOracle";
//将这个Item加入到ES数据库中 //将这个Item加入到ES数据库中
try try
{ {
......
-- "a/10.Paul\351\234\200\346\261\202-JSON\350\264\235\346\240\274ES\345\257\274\345\205\245\346\234\254\345\234\260ES/ImportLocalES/Delete_TaikorES_LocalES/obj/Debug/build.force" ++ /dev/null
D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\bin\x64\Debug\HJBeigeModel.dll.config D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\bin\x64\Debug\HJBeigeModel.dll.config
...@@ -13,4 +13,3 @@ D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeMo ...@@ -13,4 +13,3 @@ D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeMo
D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\bin\x64\Debug\zh-Hans\EntityFramework.SqlServer.resources.dll D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\bin\x64\Debug\zh-Hans\EntityFramework.SqlServer.resources.dll
D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\obj\x64\Debug\HJBeigeModel.dll D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\obj\x64\Debug\HJBeigeModel.dll
D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\obj\x64\Debug\HJBeigeModel.pdb D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\obj\x64\Debug\HJBeigeModel.pdb
D:\smallproject\10.Paul需求-JSON贝格ES导入本地ES\ImportLocalES\HJBeigeModel\obj\x64\Debug\HJBeigeModel.csprojResolveAssemblyReference.cache
using HooLab.Log; using HooLab.Log;
...@@ -417,6 +417,7 @@ namespace JSON_ImportLocalES ...@@ -417,6 +417,7 @@ namespace JSON_ImportLocalES
itemInES.Crawler = "Json_File_NEWS"; itemInES.Crawler = "Json_File_NEWS";
itemInES.CrawlID = "Json_File_NEWS"; itemInES.CrawlID = "Json_File_NEWS";
itemInES.Tag = "MinderESFromJson";
//将这个Item加入队列中 //将这个Item加入队列中
TempItem_Queue.Add(itemInES); TempItem_Queue.Add(itemInES);
} }
...@@ -466,7 +467,8 @@ namespace JSON_ImportLocalES ...@@ -466,7 +467,8 @@ namespace JSON_ImportLocalES
pModel.Time = (int)(sw.ElapsedMilliseconds / 1000) + "秒" + (sw.ElapsedMilliseconds % 1000) + "毫秒"; pModel.Time = (int)(sw.ElapsedMilliseconds / 1000) + "秒" + (sw.ElapsedMilliseconds % 1000) + "毫秒";
pModel.InsertESTotal = TempItem_Queue.Count; pModel.InsertESTotal = TempItem_Queue.Count;
pModel.State = "4.插入ES完成";
this.dataGridView1.Rows[(int)(pModel.Id)].Cells[3].Value = pModel.State;
this.dataGridView1.Rows[(int)(pModel.Id)].Cells[6].Value = pModel.InsertESTotal; this.dataGridView1.Rows[(int)(pModel.Id)].Cells[6].Value = pModel.InsertESTotal;
this.dataGridView1.Rows[(int)(pModel.Id)].Cells[7].Value = pModel.Time; this.dataGridView1.Rows[(int)(pModel.Id)].Cells[7].Value = pModel.Time;
......
-- "a/10.Paul\351\234\200\346\261\202-JSON\350\264\235\346\240\274ES\345\257\274\345\205\245\346\234\254\345\234\260ES/ImportLocalES/TaikorES_ImportLocalES/obj/x64/Debug/build.force" ++ /dev/null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment