SearchIndexDocument is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace of Telligent.Evolution.Components.dll
Definition
class SearchIndexDocument
{
Single Boost { get; set; }
string Content { get; set; }
Guid ContentId { get; set; }
Guid ContentTypeId { get; set; }
string Id { get; set; }
List<IndexField> IndexFields { get; set; }
string Title { get; set; }
string TypeName { get; set; }
string Url { get; set; }
void AddField(string fieldName, string fieldValue);
void RemoveField(IndexField field);
}
Properties
| Name | Type | Description | Default | Options |
|---|
| Boost | Single | | | |
| Content | string | | | |
| ContentId | Guid | | | |
| ContentTypeId | Guid | | | |
| Id | string | | | |
| IndexFields | List<IndexField> | | | |
| Title | string | | | |
| TypeName | string | | | |
| Url | string | | | |
Methods
void AddField(string fieldName, string fieldValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fieldName | string | Field Name | Required | | |
| fieldValue | string | Field Value | Required | | |
void RemoveField(IndexField field);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| field | IndexField | Field | Required | | |