This commit is contained in:
2018-09-18 22:44:03 +00:00
parent 7f64c7f274
commit 6771c9f2a1
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ REQUIREMENTS
- This is in the object, not in the searchkey as it would be inefficient - This is in the object, not in the searchkey as it would be inefficient
- Need parent AyaType as an ENUM ATTRIBUTE in the AyaType table for easy traversal - Need parent AyaType as an ENUM ATTRIBUTE in the AyaType table for easy traversal
- CLEANUP: Generator able to cleanup index with no matching word (if possible), index with no matching typeandid - CLEANUP: Generator able to cleanup index with no matching word (if possible), index with no matching typeandid
- CJK INDEX support: same as v7 - CJK INDEX support: same as v7 but tied to Locale, not globally
- GROUP BY: group by objectype then objectid (then created date?) - GROUP BY: group by objectype then objectid (then created date?)
- Coding: break this into separate discrete classes, the old v7 code is very monolithic and in-elegant - Coding: break this into separate discrete classes, the old v7 code is very monolithic and in-elegant
- SAMPLE DATA: Need a huge amount of sample data indexed to load test it - SAMPLE DATA: Need a huge amount of sample data indexed to load test it

View File

@@ -18,7 +18,7 @@ namespace AyaNova.Biz
/// </summary> /// </summary>
public static void ProcessKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, bool newRecord, string keyWords, string name) public static void ProcessKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, bool newRecord, string keyWords, string name)
{ {
var StopWords = GetStopWords(ct, localeId); var StopWords = GetLocaleSearchData(ct, localeId);
//Get CJK index bool flag. //Get CJK index bool flag.
//TODO: should this be a property of the locale or a global setting as before?? //TODO: should this be a property of the locale or a global setting as before??
@@ -53,7 +53,7 @@ namespace AyaNova.Biz
//Get the current stopwords for the user's locale //Get the current stopwords for the user's locale
private static List<string> GetStopWords(AyContext ct, long localeId) private static List<string> GetLocaleSearchData(AyContext ct, long localeId)
{ {
//Get stopwords //Get stopwords
//Validate locale id, if not right then use default instead //Validate locale id, if not right then use default instead