URLs
POST api/v1/search.xml (or .json)
CREATE a search result - add a document to the index.
请求参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
Collapse |
string |
Collapse |
否 |
||
Content |
string |
Content |
是 |
||
ContentId |
string |
Unique Id for the content type |
是 |
||
ContentType |
string |
Content Type |
是 |
||
ContentUrl |
string |
Content Url |
是 |
||
CreatedBy |
string |
Optional username for the user who created the content |
否 |
||
Date |
DateTime |
Date |
是 |
||
EditedBy |
string |
Optional username for the user who last edited the content |
否 |
||
GroupId |
int? |
Group Id |
否 |
||
Rating |
double? |
Rating is a real number from 0 to 100 maintaining one decimal place: 000.0 |
否 |
||
Roles |
string |
List of role ids, separated by commas, that have permission to view the item. |
是 |
||
SectionId |
int? |
Section Id |
否 |
||
Tags |
string |
List of tags, separated by commas |
否 |
||
ThreadId |
int? |
Thread Id |
否 |
||
Title |
string |
Title |
是 |
||
UserId |
int? |
UserId or Username is required when specifying a user. |
否 |
||
Username |
string |
Either UserId or Username is required when specifying a user. |
否 |
||
WikiId |
int? |
Wiki Id |
否 |
||
CustomFields |
RestSearchFields |
Custom Fields |
否 |
||
GuidId |
Guid? |
The GUID representing the content. |
否 |
||
ApplicationId |
Guid? |
The GUID representing the application. |
否 |
||
ContainerId |
Guid? |
The GUID representing the container. |
否 |
||
Category |
string |
Category |
否 |
||
IsContent |
bool? |
Is Content |
否 |
||
IsApplication |
bool? |
Is Application |
否 |
||
IsContainer |
bool? |
Is Container |
否 |