Table of Contents

Interface ISearchProvider

Namespace
Oqtane.Services
Assembly
Oqtane.Shared.dll
public interface ISearchProvider

Properties

Name

string Name { get; }

Property Value

string

Methods

DeleteSearchContent(int)

Task DeleteSearchContent(int siteId)

Parameters

siteId int

Returns

Task

GetSearchResultsAsync(SearchQuery)

Task<List<SearchResult>> GetSearchResultsAsync(SearchQuery searchQuery)

Parameters

searchQuery SearchQuery

Returns

Task<List<SearchResult>>

SaveSearchContent(SearchContent, Dictionary<string, string>)

Task SaveSearchContent(SearchContent searchContent, Dictionary<string, string> siteSettings)

Parameters

searchContent SearchContent
siteSettings Dictionary<string, string>

Returns

Task