Same search form everywhere or adapt to the page it’s on?

I have a site that lists entries across multiple different categories.

As an example, think of something like AirBnB which has Homes, Experiences & Restuarants, with homes being the main searched for category.

Would it be best to have a ‘universal’ search that will search across all three categories and present the results grouped by category.

Or should the search change, so if you go to the Homes section, the search only searches Homes.

Does that make sense?