Forum Discussion
Martin-Coupal
Aug 30, 2021Iron Contributor
SharePoint Search API response schema changes
Hi, I've started noticing issues with search REST api results lately where there are some new properties returned in the schema and some null values. Ex: _api/search/query?querytext='Filename:B31...
- Sep 03, 2021My take is this. You should only expect properties you ask for. These may or may not have values depending on the property. As such, you should not have a rigid schema to validate returned data.
DocumentSignature/CollapseStatus are by no means new ones. As for other props these can and will change as we make changes. And the schema contract is a weak one and you should only count on any public documented properties or those you have created yourself.
Hope this makes sense 🙂
Martin-Coupal
Aug 31, 2021Iron Contributor
UPDATE: I'll have to validate but the collapsingStatus and DocumentSignature do not seem to be always returned so I need to understand why.
However, having the Culture and PartitionId set to null does not seems to be valid...
However, having the Culture and PartitionId set to null does not seems to be valid...
Mike_dockray
Sep 01, 2021Copper Contributor
No help Martin but i am also having problems since 30th with extra properties in schema, order of properties returned changing and previously valid search queries no longer filtering