Table of Contents

Interface ISearchService

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

Methods

DeleteSearchContentsAsync(int)

Task DeleteSearchContentsAsync(int siteId)

Parameters

siteId int

Returns

Task

GetSearchResultsAsync(SearchQuery)

Task<SearchResults> GetSearchResultsAsync(SearchQuery searchQuery)

Parameters

searchQuery SearchQuery

Returns

Task<SearchResults>

SaveSearchContentsAsync(List<SearchContent>, Dictionary<string, string>)

Task<string> SaveSearchContentsAsync(List<SearchContent> searchContents, Dictionary<string, string> siteSettings)

Parameters

searchContents List<SearchContent>
siteSettings Dictionary<string, string>

Returns

Task<string>