Work with Search indexing
This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.ISearchIndexing>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterBulkIndex
Handler
void AfterSearchBulkIndexingEventHandler(AfterBulkIndexingEventArgs e);
Events.BeforeBulkIndex
Handler
void BeforeSearchBulkIndexingEventHandler(BeforeBulkIndexingEventArgs e);
Events.Render
Handler
void SearchResultRenderEventHandler(SearchResultRenderEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Constants | SearchIndexingConstants | Constants |
Methods
AdditionalInfo Delete(SearchIndexDeleteOptions options);
Delete Index entry that match the query
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | SearchIndexDeleteOptions | Index delete options | Required |
Return Type
string FormatDate(DateTime d);
Format Date
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
d | DateTime | Formatted date | Required |
Return Type
string
ApiList<SearchableFile> GetEmbeddedFileNamesAndText(string text);
Return the names and searchable text of any files embedded in the input text
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
text | string | Text | Required |
Return Type
SearchIndexDocument NewDocument(Guid contentId, Guid contentTypeId, string typeName, string url, string title, string content);
Create new document
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content type Id | Required | ||
typeName | string | Type name | Required | ||
url | string | Url | Required | ||
title | string | Title | Required | ||
content | string | Content | Required |