Class DatabaseSearchProvider
public class DatabaseSearchProvider : ISearchProvider
- Inheritance
-
objectDatabaseSearchProvider
- Implements
Constructors
DatabaseSearchProvider(ISearchContentRepository)
public DatabaseSearchProvider(ISearchContentRepository searchContentRepository)
Parameters
searchContentRepository
ISearchContentRepository
Properties
Name
public string Name { get; }
Property Value
- string
Methods
DeleteSearchContent(int)
public Task DeleteSearchContent(int siteId)
Parameters
siteId
int
Returns
- Task
GetSearchResultsAsync(SearchQuery)
public Task<List<SearchResult>> GetSearchResultsAsync(SearchQuery searchQuery)
Parameters
searchQuery
SearchQuery
Returns
- Task<List<SearchResult>>
SaveSearchContent(SearchContent, Dictionary<string, string>)
public Task SaveSearchContent(SearchContent searchContent, Dictionary<string, string> siteSettings)
Parameters
searchContent
SearchContentsiteSettings
Dictionary<string, string>
Returns
- Task