Interface ISearchProvider
Definition of a search provider
Namespace: EPiServer.Shell.Search
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public interface ISearchProvider
Properties
Area
Area that the provider mapps to, used for spotlight searching
Declaration
string Area { get; }
Property Value
Type | Description |
---|---|
System.String |
Category
The category that the provider returns hits in
Declaration
string Category { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Search(Query)
Executes a Search on the provider
Declaration
IEnumerable<SearchResult> Search(Query query)
Parameters
Type | Name | Description |
---|---|---|
Query | query | The query to execute |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SearchResult> | A list of search results |