This commit is contained in:
@@ -18,6 +18,14 @@ namespace AyaNova.Biz
|
|||||||
public static class Search
|
public static class Search
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/*
|
||||||
|
ISSUES:
|
||||||
|
I'm seeing stopwords in the database searchdictionary "the" that shouldn't be there in the first place
|
||||||
|
ObjectID and type are empty in searchkeys
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
#region ProcessKeywords into Database
|
#region ProcessKeywords into Database
|
||||||
|
|
||||||
public static void ProcessNewObjectKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, string name, params string[] text)
|
public static void ProcessNewObjectKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, string name, params string[] text)
|
||||||
@@ -102,7 +110,7 @@ namespace AyaNova.Biz
|
|||||||
//CREATE THE SEARCHKEY RECORDS FOR ALL THE KEYWORDS
|
//CREATE THE SEARCHKEY RECORDS FOR ALL THE KEYWORDS
|
||||||
foreach (MatchingDictionaryEntry E in MatchingKeywordIdList)
|
foreach (MatchingDictionaryEntry E in MatchingKeywordIdList)
|
||||||
{
|
{
|
||||||
ct.SearchKey.Add(new SearchKey() { WordId = E.DictionaryId, InName = E.InName });
|
ct.SearchKey.Add(new SearchKey() { WordId = E.DictionaryId, InName = E.InName, ObjectId = objectID, ObjectType = objectType });
|
||||||
}
|
}
|
||||||
|
|
||||||
ct.SaveChanges();
|
ct.SaveChanges();
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace AyaNova.Util
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return "8.0.0-alpha.2018.8.23";
|
return "8.0.0-alpha.2018.9.18";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user