Forum Discussion

Rick DeFoe's avatar
Rick DeFoe
Iron Contributor
Jun 11, 2018

Modern Site and Document Library Search Suggestions and Results

When searching in a modern hub site and document library within the site the search suggestions and the search results page show document file names instead of the titles.  Is there a way to change this?  It doesn't make for a very nice search experience as file names are not usually formatted in a friendly manner where titles are edited and friendly to the users.  

 

Attached are screenshots from the document library search and also the hub site search/results.

 

 

 

 

    • Rick DeFoe's avatar
      Rick DeFoe
      Iron Contributor

      Thanks I will take a look.  Seems like a shame that the default search uses the filenames instead of titles.  I also noticed that if you search in SharePoint home the search results do get displayed using the Title instead of the filename.

       

      Do you know if there are any plans to tidy this up in modern sites without us having to do customization?

       

      thanks,

      • Duane Bergh's avatar
        Duane Bergh
        Copper Contributor

        Hi, I found this blog that sorts the problem out.

          

        basicly you go to search schema on the title managed property settings and adjust the position of the MetadataExtractorTitle crawled property (or remove that crawled property altogether if you do not want it included).

         

        I deleted it alltogether which fixed the problem.

Resources