Forum Discussion
Search ONLY in metadata column
Hello Saaam1165
it's default, when you use the Microsoft Search box and you can't change ist.
You can filter by columns in your library:
Or you can build a custom search with the PnP Modern Search WebParts https://microsoft-search.github.io/pnp-modern-search/ and configure the webparts with a match only in configured columns: https://www.mehr365.com/volltreffer-exakte-uebereinstimmung-in-der-suche/
Best, Dave
- Saaam1165Feb 20, 2025Copper Contributor
Hi Dave,
what about that?
The issue is that i can't edit the schema for these properties, maybe i miss some authorization
Thanks
- DaveMehr365Feb 21, 2025MVP
Hi Saaam1165
you can map your crawled properties to managed properties, but only with enough SharePoint Admin permissions over the SharePoint Admin Center in M365: https://learn.microsoft.com/microsoft-365/community/how-do-site-columns-become-managed-properties-thus-available-for-search?WT.mc_id=DX-MVP-5004845
You also have to do this if you use the PnP modern search webparts and want to configure the search.
Before mapping:
Map the crawled property ows_choicecolumn to an existing managed property:
After mapping (it always takes at least 15 minutes for the search schema to be updated)
You need SharePoint Admin permissions to configure the M365 search schema.
Best, Dave