In Magento 2, the advanced search functionality on the homepage is typically a part of the layout handled by XML configuration and can be found within the catalogsearch module.