This commit is contained in:
@@ -449,7 +449,7 @@ namespace AyaNova
|
||||
{
|
||||
AyaNova.Core.License.Fetch(apiServerState, dbContext, _newLog);
|
||||
//NOTE: For unit testing make sure the time zone in util is set to the same figure as here to ensure list filter by date tests will work because server is on same page as user in terms of time
|
||||
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.MediumLocalServiceCompanyTrialDataSet, -7);//#############################################################################################
|
||||
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.LargeCorporateMultiRegionalTrialDataSet, -7);//#############################################################################################
|
||||
}
|
||||
//TESTING
|
||||
#endif
|
||||
|
||||
@@ -378,7 +378,7 @@ namespace AyaNova.Biz
|
||||
public long ObjectId { get; set; }
|
||||
public AyaType ObjectType { get; set; }
|
||||
public string Name { get; set; }
|
||||
public List<string> Words { get; set; }
|
||||
public List<string> Words { get; set; }
|
||||
|
||||
|
||||
|
||||
@@ -389,7 +389,7 @@ namespace AyaNova.Biz
|
||||
LocaleId = localeId;
|
||||
ObjectId = objectID;
|
||||
ObjectType = objectType;
|
||||
Name = name;
|
||||
Name = name;
|
||||
|
||||
}
|
||||
|
||||
@@ -754,7 +754,13 @@ RETURNING id, xmin;
|
||||
/// used for eliminating noise words from search dictionary
|
||||
/// </summary>
|
||||
|
||||
public static Dictionary<long, LocaleWordBreakingData> localeWordBreakingDataCache = new Dictionary<long, LocaleWordBreakingData>();
|
||||
private static Dictionary<long, LocaleWordBreakingData> localeWordBreakingDataCache = new Dictionary<long, LocaleWordBreakingData>();
|
||||
//called by Locale in the rare circumstance that a local has changed that is cached
|
||||
//and might affect word breaking (stopwords cjkindex etc)
|
||||
internal static void ClearLocaleWordBreakingDataCache(long localeId)
|
||||
{
|
||||
localeWordBreakingDataCache.Remove(localeId);
|
||||
}
|
||||
|
||||
internal static List<string> BreakCore(long localeId, bool KeepWildCards, List<string> textStrings)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user