Exclude column from search

Brass Contributor

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)??

5 Replies

Hello @MarioZagreb 

 

there are no permissions on column. It's not possible to exclude only one column from search, only possible with the whole library or site.

 

Best, Dave

@DaveMehr365Thanks for the answer.

 

This was possible on SP on-premise. Why is it not possible in the cloud?

This makes that search totally unusable for me.

How can I replace that search in SP doc lib with my own search?

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

@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"?

@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".

 

DocumentationManaged 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