Hi @matt howell ,
Glad that you found the solution to this problem. Thanks for your sharing.
You could accept your answer via the "Accept Answer" button, it would be helpful to others who have similar issue in the future.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My api gets all news posts from 3 sites when the managed property refinablestring05 is true:
/_api/search/query?querytext='(Path:https://xxx.sharepoint.com/sites/site1 OR Path:https://xxx.sharepoint.com/sites/site2/sitepages OR Path:https://xxx.sharepoint.com/sites/site3/sitepages ) AND SPContentType:"Site Page" AND RefinableString05:true AND PromotedState:2 AND IsDocument:True AND FileExtension:aspx'&sortlist='FirstPublishedDate:descending'&startRow=0&rowlimit=15&selectproperties='Title,Description,RefinableString05,FirstPublishedDate,PictureThumbnailURL,WebId,Path'
I need to apply an additional filter (refinablestring01) to only one of the sites, something like:
((Path:https://xxx.sharepoint.com/sites/site1 OR Path:https://xxx.sharepoint.com/sites/site2/sitepages) OR Path:https://xxx.sharepoint.com/sites/site3/sitepages AND RefinableString01:"Field value") AND RefinableString05:true'&sortlistetc
Is there a way to do this?
Hi @matt howell ,
Glad that you found the solution to this problem. Thanks for your sharing.
You could accept your answer via the "Accept Answer" button, it would be helpful to others who have similar issue in the future.