
So i have this query to search for news pages on the site, i also have a managed metadata field on all site pages wich declares if there is a "head news" or just normal site level news, i want to filter those so that i only get the "head news", has someone done this or know the solution?
Hi @sveddans,
Do you have a managed property for this field (did you map the crawled property to any of the refinable slots?) in the search schema of your SharePoint admin centre? If so, you could use that field name in your query.
_api/search/query?querytext='RefinableString00:Head News'
Otherwise you need to create that mapping first. Afaik the managed metadata field should appear as a crawled property with a name which starts with owstaxId