Forum Discussion
Rick DeFoe
Jun 11, 2018Iron Contributor
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.
- Deleted
Did you look at this solution from pnpstarter kit. It gives you options to build query and custom refiner for modern search.
- Rick DeFoeIron 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 BerghCopper 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.