ISearchProvider
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface ISearchProvider : IPlugin, ISingletonPlugin { void IndexContent(IEnumerable<SearchIndexDocument> contentToIndex); SearchResults MoreLikeThis(string id, RelatedContentListOptions options); void RemoveFromIndexById(string id); void RemoveFromIndexByQuery(SearchIndexDeleteOptions query); SearchResults Search(SearchResultsListOptions query); }
Methods
void IndexContent(IEnumerable<SearchIndexDocument> contentToIndex);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentToIndex | IEnumerable<SearchIndexDocument> | Content To Index | Required |
SearchResults MoreLikeThis(string id, RelatedContentListOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | string | Id | Required | ||
options | RelatedContentListOptions | Options | Required |
Return Type
void RemoveFromIndexById(string id);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | string | Id | Required |
void RemoveFromIndexByQuery(SearchIndexDeleteOptions query);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
query | SearchIndexDeleteOptions | Query | Required |
SearchResults Search(SearchResultsListOptions query);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
query | SearchResultsListOptions | Query | Required |