5

Within SharePoint 2013, as I am searching for a file in Site Collection Documents, it appears that SharePoint is searching results for....

  1. an exact match on a file name.
  2. matching words within the document of that file.

Is there anything under site settings -> Search, that I can do to tell SharePoint to search document libraries only by file name? and not by content found in each document?

If this would work, the I know I can search filename values like this (i.e. document_*, or like this document_one.pdf). And I'm ok with that.

Is this possible?

Thanks!

4

You can do this by using property

filename:"Document_whatever"
  • Amal, I don't know how you figured that out, but you are man! Thank you! – klewis May 25 '16 at 15:11
  • 1
    Here you go.. Keep it handy.. support.office.com/en-us/article/… – Amal Hashim May 25 '16 at 15:12
  • Many thanks Amal! I will definitely keep this article by my side! – klewis May 25 '16 at 15:21
0

This doesn't seem to work if you are looking for a word in the middle of a filename. For instance, if I look for filename:current, Budget_current.xlsx isn't found. Tried filename:"current" too.

Seems like a huge flaw that words in filenames are not found, but words in document content are.

  • If you put asteriks on either side of the query, it will return any filename with the text in it with zero or more chars to either side. Microsoft have always had a shoddy implementation of substring searching. – Thomas Gass Jun 28 '17 at 16:23
0

Use the open with explorer option within SharePoint and then when you search in the windows explorer this should search solely by filename.

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.