Skip to content

Commit ef2bf44

Browse files
committed
代码清理
1 parent 8047dbd commit ef2bf44

File tree

2 files changed

+144
-205
lines changed

2 files changed

+144
-205
lines changed

Iveely.SearchEngine/Host.cs

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -61,39 +61,6 @@ public partial class Host
6161

6262
private static void Main(string[] args)
6363
{
64-
//Index index = new Index();
65-
//object[] objects = new object[] { 8001, 8001, 8001, 8001, 8001, 8001, 8001, 8001, 8001 };
66-
//index.Run(objects);
67-
//EntityExtrator inforExtrator = new EntityExtrator();
68-
//while (true)
69-
//{
70-
// Console.WriteLine("input:");
71-
// string[] infors = inforExtrator.GetInfo(Console.ReadLine());
72-
// if (infors != null && infors.Count() > 0)
73-
// {
74-
// foreach (var infor in infors)
75-
// {
76-
// Console.WriteLine(infor);
77-
// }
78-
// }
79-
//}
80-
//string fileFlag = "Baike_data.db4";
81-
//using (IStorageEngine engine = STSdb.FromFile(fileFlag))
82-
//{
83-
// // 插入数据
84-
// ITable<string, BaikeDataCrawler.Page> table = engine.OpenXTable<string, BaikeDataCrawler.Page>("WebPage");
85-
// foreach (var kv in table)
86-
// {
87-
// Console.WriteLine(kv.Key);
88-
// }
89-
//}
90-
91-
//百科拉去
92-
//BaikeDataCrawler crawler = new BaikeDataCrawler();
93-
//crawler.Run(new object[] { 8001, 8001, 8001, 8001, 8001, 8001, 8001, 8001, 8001, 8001 });
94-
//Console.ReadLine();
95-
//return;
96-
9764
//搜索服务
9865
Init();
9966
WebSocketServer webSocket = new WebSocketServer(GetResult);

0 commit comments

Comments
 (0)