Omit document contents from Sharepoint online search results - focus on metadata only ie filename, keywords, etc.

I am trying to figure out how to omit file contents from being indexed and displayed when a search is performed. We only want it to index and search on the file names and other metadata.

Unfortunately, I have a limited knowledge of sharepoint and have never used it until we rolled to office365 a few months ago. I am the administrator so please point me in the correct direction.

I found this article but it still doesn't get me to where I am looking for. The attached pic shows some properties called content but when I go into them they are grayed out.
https://support.office.com/en-us/article/Manage-the-search-schema-in-SharePoint-Online-d4fab46d-ba41-4c03-9d4c-32b5b33198b6

I was also told by a friend that full text search could be turned off but I believe his instructions were for an onsite installation. He says when you are in the SharePoint Central Administration go under component configuration and deselect full text search and index components. I didn't see this anywhere in the online version.

Bottom line is the users want to be able to search and not have document content show up in the results.

thanks
LVL 3
Orion NewmanDirector of Data ServicesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi,

afaik the contents property can not be removed from the search.

But you can modify the managed property and remove all crawled property mappings from the "Contents" property:
Open the SharePoint admin site through Office 365 portal
Then use on the left navigation "Search", then "Manage search schema".
Then click on the entry "Contents" and remove each of the "Mappings to crawled properties".
Then you have to run a re-indexing described here:
https://support.office.com/en-nz/article/Manually-request-crawling-and-re-indexing-of-a-site-a-library-or-a-list-9afa977d-39de-4321-b4ca-8c7c7e6d264e?ui=en-US&rs=en-NZ&ad=NZ

For the result display, you might have to change the display templates:
http://blogs.technet.com/b/tothesharepoint/archive/2013/09/04/understand-how-search-results-are-displayed-in-sharepoint-server-2013.aspx

HTH
Rainer

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.