前言
在使用SharePoint search rest api时候,经常会根据需求只查找所需字段或是根据某个字段进行排序,如下列出可使用字段
可使用字段说明
以文件类型说明
Author | Zhenhe ZH32 Liu |
AuthorOWSUSER | 用户信息 |
contentclass | STS_ListItem_DocumentLibrary |
ContentDatabaseId | {****0c07-3c0d-49d7-b890-************} |
ContentExcludeFromSummaries | |
ContentModifiedTime | |
Contents | |
ContentSource | SharePoint Content |
ContentType | Folder |
ContentTypeId | 0x*******************************************D |
CrawledProperties | |
Created | 2020-10-12T06:44:22.0000000Z |
CreatedBy | Zhenhe Liu |
CreatedById | 2674 |
CreatedOWSDATE | 2020-10-12T06:44:22Z |
Culture | zh-CN |
DetectedLanguage | en |
DetectedLanguageRanking | 9 |
DiscoveredTime | 2021-11-19T06:50:53.0000000Z |
DisplayAuthor | Zhenhe ZH32 Liu |
docacl | |
DocId | 19**************74473 |
DocumentLink | https://SharePoint url/Documents/文件名 |
DocumentSignature | |
EditorOWSUSER | |
FallbackLanguage | 1033 |
Filename | 文件名 |
GeoLocation | |
GeoLocationSource | |
HostingPartition | ****0c07-3c0d-49d7-b890-************ |
IndexDocId | 198*******175874473 |
IsContainer | true |
IsDocument | false |
IsExternalContent | false |
IsProtected | false |
language | en |
languages | en |
LastModifiedTime | 2021-11-19T06:50:40.0000000Z |
LastModifiedTimeForRetention | 2021-11-19T06:50:40.0000000Z |
ListID | ****0c07-3c0d-49d7-b890-************ |
ListItemID | 1481 |
MetadataAuthor | |
ModifiedBy | Zhenhe ZH32 Liu |
ModifiedById | |
ModifiedOWSDATE | 2021-11-19T06:50:40Z |
NormListID | ****0c07-3c0d-49d7-b890-************ |
NormSiteID | ****0c07-3c0d-49d7-b890-************ |
NormUniqueID | ****0c07-3c0d-49d7-b890-************ |
NormWebID | ****0c07-3c0d-49d7-b890-************ |
OriginalPath | https://SharePoint url/Documents/文件夹/文件名 |
ParentId | {****0c07-3c0d-49d7-b890-************} |
ParentLink | https://SharePoint url/Documents/文件夹名称 |
PartitionId | ****0c07-3c0d-49d7-b890-************ |
PartitionKey | ****0c07-3c0d-49d7-b890-************ |
Path | https://sharepoint url/Documents/文件夹名称/文件名 |
People | |
piSearchResultId | |
policyacl | |
PrivacyIndicator | 785 |
Rank | -9.0297155 |
RelatedGroupId | 00000000-0000-0000-0000-000000000000 |
RenderTemplateId | ~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js |
ReplyCount | 1 |
ResultTypeId | 0 |
SecurityId | {****0c07-3c0d-49d7-b890-************} |
SiteID | ****0c07-3c0d-49d7-b890-************ |
SitePath | https://SharePoint url/documents/url编码后的值 |
SiteTemplate | SITEPAGEPUBLISHING |
SiteTemplateId | 68 |
SiteTitle | Team site (no Microsoft 365 group) |
Size | 0 |
SPContentType | |
SPSiteURL | https://SharePoint site url |
SPWebUrl | https://SharePoint web url |
Title | 文件名 |
UIVersionStringOWSTEXT | 2.0 |
UniqueID | ****0c07-3c0d-49d7-b890-************ |
UrlDepth | 6 |
UrlZone | 0 |
ViewableByAnonymousUsers | false |
ViewableByExternalUsers | false |
WebId | ****0c07-3c0d-49d7-b890-************ |
XListId | ****0c07-3c0d-49d7-b890-************ |
XSiteId | ****0c07-3c0d-49d7-b890-************ |
XUniqueId | {****0c07-3c0d-49d7-b890-************} |
XWebId | ****0c07-3c0d-49d7-b890-************ |