In this article you will see how to get search results by content type in SharePoint 2013 Online.
Sign up for an Office 365 Developer Site. Be sure you have access to the Office 365 Developer Site. Here are the three ways to get one:
Office 365 Midsize BusinessOffice 365 Enterprise E1, E3, E4, or K1Office 365 Education A2, A3, or A4Office 365 Government G1, G3, G4, or K1
If so, you can provision a Developer Site from the Office 365 admin center. For more information, see how to create a Developer Site within your existing Office 365 subscription.
Site Content TypeI have created a site content type with the following columns.Document Library:I have created a Document Library in which I have attached the “My Content Type” content type and added a few documents.Configure Search Results web part
SummaryIn this article we saw how to get search results by content type in SharePoint 2013 Online.
SharePoint Online And Office 365 Administration