diff --git a/server/AyaNova/biz/Search.cs b/server/AyaNova/biz/Search.cs index 822cf1fb..7d632e88 100644 --- a/server/AyaNova/biz/Search.cs +++ b/server/AyaNova/biz/Search.cs @@ -18,6 +18,14 @@ namespace AyaNova.Biz 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 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 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(); diff --git a/server/AyaNova/util/AyaNovaVersion.cs b/server/AyaNova/util/AyaNovaVersion.cs index 39532e61..ec46f2b9 100644 --- a/server/AyaNova/util/AyaNovaVersion.cs +++ b/server/AyaNova/util/AyaNovaVersion.cs @@ -11,7 +11,7 @@ namespace AyaNova.Util { get { - return "8.0.0-alpha.2018.8.23"; + return "8.0.0-alpha.2018.9.18"; } }