This commit is contained in:
@@ -394,7 +394,7 @@ namespace AyaNova.Biz
|
||||
|
||||
}
|
||||
|
||||
public SearchIndexProcessObjectParameters AddWord(string s)
|
||||
public SearchIndexProcessObjectParameters AddText(string s)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(s))
|
||||
{
|
||||
@@ -402,12 +402,14 @@ namespace AyaNova.Biz
|
||||
}
|
||||
return this;
|
||||
}
|
||||
public SearchIndexProcessObjectParameters AddWord(uint u)
|
||||
|
||||
public SearchIndexProcessObjectParameters AddText(uint u)
|
||||
{
|
||||
Words.Add(u.ToString());
|
||||
return this;
|
||||
}
|
||||
public SearchIndexProcessObjectParameters AddWord(List<string> lWords)
|
||||
|
||||
public SearchIndexProcessObjectParameters AddText(List<string> lWords)
|
||||
{
|
||||
if (lWords != null)
|
||||
{
|
||||
@@ -423,6 +425,15 @@ namespace AyaNova.Biz
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public SearchIndexProcessObjectParameters AddCustomFields(string jsonString)
|
||||
{
|
||||
//Extract the text from custom fields json fragment as an array of strings and add it here
|
||||
AddText(JsonUtil.GetCustomFieldsAsStringArrayForSearchIndexing(jsonString));
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -997,6 +1008,10 @@ namespace AyaNova.Biz
|
||||
|
||||
#endregion
|
||||
|
||||
#region Utility
|
||||
|
||||
#endregion utility
|
||||
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
Reference in New Issue
Block a user