We are using SharePoint 2016. I have added a ContentBySearchWebpart on the welcome page. Here I show the recently added/modified documents. In the search results I see allot of OneNote results because search is showing OneNote sections and not OneNote document. How can hide the OneNote sections in the search results and allow OneNote documents?
This is my search query:
(Author:{User.Name} OR ModifiedBy:{User.Name}) AND IsDocument:1