This commit is contained in:
2018-09-19 15:08:23 +00:00
parent 6741ceb139
commit d5fe37f599

View File

@@ -1,4 +1,5 @@
using System;
using System.Linq;
using System.Globalization;
using System.Text;
using System.Collections.Generic;
@@ -68,7 +69,10 @@ namespace AyaNova.Biz
return;
}
//List<long> MatchingKeywordIdList = new List<long>();
//ITERATE ALL THE KEYWORDS, SEARCH IN THE SEARCHDICTIONARY TABLE AND COLLECT ID'S OF ANY PRE-EXISTING IN DB KEYWORDS
List<long> MatchingKeywordIdList = ct.SearchDictionary.Where(m => KeyWordList.Contains(m.Word)).Select(m => m.Id).ToList();
//ITERATE THROUGH THE KEYWORDS THAT DO *NOT* HAVE MATCHES IN THE SEARCHDICTIONARY AND ADD THEM TO THE SEARCH DICTIONARY, COLLECTING THEIR ID'S