SharePoint 101 – O365 search results “Filename”

As default SharePoint Search results displays the “Title” of a document instead of the “Filename“.

searchfilename01

This behavior is sometimes really annoying and doesn’t work for the end users.

The easiest way to change this behavior is to change the “Search Schema”

Navigate to your Central Administration or O365 Search Administration | “Manage Search Schema”

searchfilename02

Search for the managed property “Title

searchfilename03

Add the crawled property ” ows_LinkFilename” as “a Mapping” to this property and move it to the top | OK | and re-crawl your content

searchfilename04

Search Results should now display the Filename before the Title

searchfilename05

Cheers

4 thoughts on “SharePoint 101 – O365 search results “Filename”

  1. Does not work properly. For documents, it’s okay but this change messed up site titles when I go to _layouts/15/sharepoint.aspx. Over half of my sites show “Home.aspx” now insted of the title. Any thoughts? I have tried to re-index.

    Like

    1. Hi Karl, good point, 😉 let me work a bit on this, i think it can be solved with a rule to keep the page content type “title” and “doc type” filename. I’ll post an update when I’ve worked it out…

      cheers

      Like

  2. Tried in SP2016:
    In mappings as described above, place the ows_LinkFileName below Title and ows_Title. Be aware there are TWO crawled properties called Titles. The first one is Basic, the other one is a Document Parser.

    Since I probably don’t need the Title (the document parser) in the managed property Title, the easiest way for me was to first remove the Title (the document parser) from the mappings above. To do this, find the correct Title in Crawled Property, ensure it’s the Category: Document Parser, mark the Title(Text) and click Remove Mapping. Save, place ows_LinkFileName below ows_Title, do Full Crawl and see if this is gold.

    So the Mappings I use is for managed property Title is: Title (the basic one), ows_Title, ows_LinkFileName and so on. I got no idea what the other mappings is related to…

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s