Table of Contents

Class DatabaseSearchProvider

Namespace
Oqtane.Providers
Assembly
Oqtane.Server.dll
public class DatabaseSearchProvider : ISearchProvider
Inheritance
object
DatabaseSearchProvider
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 SearchContent
siteSettings Dictionary<string, string>

Returns

Task