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 |
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
fieldName |
string |
Field Name |
是 |
||
|
fieldValue |
string |
Field Value |
是 |
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
field |
IndexField |
Field |
是 |