Interface ISearchHelper
Assembly: DotNetNuke.dll
Syntax
public interface ISearchHelper
Methods
AddSearchStopWords(string, int, string)
Declaration
int AddSearchStopWords(string stopWords, int portalId, string cultureCode)
Parameters
Returns
AddSynonymsGroup(string, int, string, out string)
Declaration
int AddSynonymsGroup(string synonymsTags, int portalId, string cultureCode, out string duplicateWord)
Parameters
Returns
DeleteSearchStopWords(int, int, string)
Declaration
void DeleteSearchStopWords(int stopWordsId, int portalId, string cultureCode)
Parameters
Type |
Name |
Description |
int |
stopWordsId |
|
int |
portalId |
|
string |
cultureCode |
|
DeleteSynonymsGroup(int, int, string)
Declaration
void DeleteSynonymsGroup(int synonymsGroupId, int portalId, string cultureCode)
Parameters
Type |
Name |
Description |
int |
synonymsGroupId |
|
int |
portalId |
|
string |
cultureCode |
|
GetIndexerCheckpointData(int, string)
Declaration
string GetIndexerCheckpointData(int scheduleId, string indexerKey)
Parameters
Type |
Name |
Description |
int |
scheduleId |
|
string |
indexerKey |
|
Returns
GetIndexerCheckpointUtcTime(int, string)
Declaration
DateTime GetIndexerCheckpointUtcTime(int scheduleId, string indexerKey)
Parameters
Type |
Name |
Description |
int |
scheduleId |
|
string |
indexerKey |
|
Returns
GetLastSuccessfulIndexingDateTime(int)
Declaration
DateTime GetLastSuccessfulIndexingDateTime(int scheduleId)
Parameters
Type |
Name |
Description |
int |
scheduleId |
|
Returns
GetPortalsToReindex(DateTime)
Declaration
IEnumerable<int> GetPortalsToReindex(DateTime startDate)
Parameters
Type |
Name |
Description |
DateTime |
startDate |
|
Returns
GetSearchCompactFlag()
Declaration
bool GetSearchCompactFlag()
Returns
GetSearchMinMaxLength()
Declaration
Tuple<int, int> GetSearchMinMaxLength()
Returns
GetSearchReindexRequestTime(int)
Declaration
DateTime GetSearchReindexRequestTime(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetSearchStopWords(int, string)
Declaration
SearchStopWords GetSearchStopWords(int portalId, string cultureCode)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
cultureCode |
|
Returns
GetSearchTypeByName(string)
Declaration
SearchType GetSearchTypeByName(string searchTypeName)
Parameters
Type |
Name |
Description |
string |
searchTypeName |
|
Returns
GetSearchTypes()
Declaration
IEnumerable<SearchType> GetSearchTypes()
Returns
GetSynonyms(int, string, string)
Declaration
IEnumerable<string> GetSynonyms(int portalId, string cultureCode, string term)
Parameters
Returns
GetSynonymsGroups(int, string)
Declaration
IEnumerable<SynonymsGroup> GetSynonymsGroups(int portalId, string cultureCode)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
cultureCode |
|
Returns
IsReindexRequested(int, DateTime)
Declaration
bool IsReindexRequested(int portalId, DateTime startDate)
Parameters
Returns
RephraseSearchText(string, bool, bool)
Declaration
string RephraseSearchText(string searchPhrase, bool useWildCard, bool allowLeadingWildcard = false)
Parameters
Type |
Name |
Description |
string |
searchPhrase |
|
bool |
useWildCard |
|
bool |
allowLeadingWildcard |
|
Returns
SetIndexerCheckpointData(int, string, string)
Declaration
void SetIndexerCheckpointData(int scheduleId, string indexerKey, string checkPointData)
Parameters
Type |
Name |
Description |
int |
scheduleId |
|
string |
indexerKey |
|
string |
checkPointData |
|
SetIndexerCheckpointUtcTime(int, string, DateTime)
Declaration
void SetIndexerCheckpointUtcTime(int scheduleId, string indexerKey, DateTime lastUtcTime)
Parameters
SetLastSuccessfulIndexingDateTime(int, DateTime)
Declaration
void SetLastSuccessfulIndexingDateTime(int scheduleId, DateTime startDateLocal)
Parameters
Type |
Name |
Description |
int |
scheduleId |
|
DateTime |
startDateLocal |
|
SetSearchReindexRequestTime(bool)
Declaration
void SetSearchReindexRequestTime(bool turnOn)
Parameters
Type |
Name |
Description |
bool |
turnOn |
|
SetSearchReindexRequestTime(int)
Declaration
DateTime SetSearchReindexRequestTime(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
Declaration
string StripTagsNoAttributes(string html, bool retainSpace)
Parameters
Type |
Name |
Description |
string |
html |
|
bool |
retainSpace |
|
Returns
UpdateSearchStopWords(int, string, int, string)
Declaration
int UpdateSearchStopWords(int stopWordsId, string stopWords, int portalId, string cultureCode)
Parameters
Returns
UpdateSynonymsGroup(int, string, int, string, out string)
Declaration
int UpdateSynonymsGroup(int synonymsGroupId, string synonymsTags, int portalId, string cultureCode, out string duplicateWord)
Parameters
Returns
Extension Methods