I have a document library with over 2000 safety data sheet PDF’s. The requirement of the users is to search by file name only as the info they need to find quickly is contained in the file name. Currently all the files are in a file share and being search by Windows search. Is there a way to setup a search on my SharePoint site to search by file name and show the file name in the results? I'm looking to mimic the Windows search for this site only.

The current search is showing too many results…


You can restrict the search result only to this scope. Enterprise or basic search center would work fine if you create specific result source / search verticals. You can look into creating separate Search vertical for the same.



Another way when you have an Enterprise Search Center (or one of their search result pages) would be to adjust the query itself to something like this:

Build your query dialog:

This lets your users search for filenames without the need for you to deal with an additional result source.

I however highly recommend looking at the blog posted by John (this post and all others from Bella Engen). They are very detailed and highly informative!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.