SharePoint search by default crawl all items in list / library and will include default pages (AllItems.aspx, DispForm.aspx etc.). There is a way to exclude / restrict the default pages from search result. Edit Search result page Edit Search Results WebPart Click " Change query " button under "Search Criteria" In Search query, add IsDocument:"True" and click Test query Click Ok and click Apply and click Stop Editing from ribbon.
SharePoint Excellence is a community for Microsoft 365 professionals.