- 命名空间: Limyee.Extensibility.Api.Entities.Version1
- 程序集: Limyee.Components.dll
定义
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); }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
Boost |
Single |
|||
Content |
string |
|||
ContentId |
Guid |
|||
ContentTypeId |
Guid |
|||
Id |
string |
|||
IndexFields |
List<IndexField> |
|||
Title |
string |
|||
TypeName |
string |
|||
Url |
string |
方法
void AddField(string fieldName, string fieldValue);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
fieldName |
string |
Field Name |
是 |
||
fieldValue |
string |
Field Value |
是 |
void RemoveField(IndexField field);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
field |
IndexField |
Field |
是 |