Forum Discussion
MarioZagreb
Mar 27, 2023Brass Contributor
Exclude column from search
I have SP Online site (modern) with one document library. How can I exclude "Editor" field (Modified By) from search on that doc lib / site (but not entire tenant)??
DaveMehr365
Mar 30, 2023MVP
Hey MarioZagreb
interesting, i don't know this OOTB setting in SharePoint On-Premises...
You can configure a custom search for your site Microsoft Search box:
https://www.mehr365.com/benutzerdefinierte-resultatseite-mit-den-pnp-modern-search-webparts/
Best, Dave
MarioZagreb
Mar 30, 2023Brass Contributor
DaveMehr365
Thanks for the response.
Maybe I am wrong here, but I think that there was an option (op-premise) in settings called "Searchable columns"?
Thanks for the response.
Maybe I am wrong here, but I think that there was an option (op-premise) in settings called "Searchable columns"?
- ganeshsanapMar 30, 2023MVP
MarioZagreb I think those options were available in SharePoint search schema settings.
It was possible to change the searchable option for managed properties.
Define which content that users can search and get results for
If you set a managed property to be searchable, the content is added to the index. This means that a simple query for "Smith" returns items that contain the word "Smith" and also items whose "author" property contains "Smith". If you want users to be able to "only search for items that have this specific author", set the author property to be queryable. Then, to find only items that have an author named Smith, users can query for "author:Smith".
Documentation: Managed properties and search
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs