This commit is contained in:
@@ -73,7 +73,7 @@ namespace AyaNova.Biz
|
||||
EventLogProcessor.LogEventToDatabase(new Event(UserId, outObj.Id, BizType, AyaEvent.Created), ct);
|
||||
|
||||
//SEARCH INDEXING
|
||||
Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name);
|
||||
// Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name);
|
||||
|
||||
return outObj;
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace AyaNova.Biz
|
||||
EventLogProcessor.LogEventToDatabase(new Event(UserId, outObj.Id, BizType, AyaEvent.Created), TempContext);
|
||||
|
||||
//SEARCH INDEXING
|
||||
Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name);
|
||||
// Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name);
|
||||
|
||||
return outObj;
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace AyaNova.Biz
|
||||
EventLogProcessor.LogEventToDatabase(new Event(UserId, dbObj.Id, BizType, AyaEvent.Modified), ct);
|
||||
|
||||
//Update keywords
|
||||
Search.ProcessUpdatedObjectKeywords(UserLocaleId, dbObj.Id, BizType, dbObj.Name, dbObj.Name);
|
||||
// Search.ProcessUpdatedObjectKeywords(UserLocaleId, dbObj.Id, BizType, dbObj.Name, dbObj.Name);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -201,7 +201,7 @@ namespace AyaNova.Biz
|
||||
ct.SaveChanges();
|
||||
|
||||
//Delete search index
|
||||
Search.ProcessDeletedObjectKeywords(dbObj.Id, BizType);
|
||||
//Search.ProcessDeletedObjectKeywords(dbObj.Id, BizType);
|
||||
|
||||
|
||||
return true;
|
||||
|
||||
@@ -712,10 +712,12 @@ namespace AyaNova.Biz
|
||||
/// cards entered
|
||||
/// </summary>
|
||||
/// <param name="localeId"></param>
|
||||
/// <param name="textStrings"></param>
|
||||
/// <param name="searchPhrase"></param>
|
||||
/// <returns></returns>
|
||||
internal static List<string> BreakSearchPhrase(long localeId, List<string> textStrings)
|
||||
internal static List<string> BreakSearchPhrase(long localeId, string searchPhrase)
|
||||
{
|
||||
List<string> textStrings=new List<string>();
|
||||
textStrings.Add(searchPhrase);
|
||||
return BreakCore(localeId, true, textStrings);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user