Search *one* collection with user input

I’m creating a website with two collections that need to be searched individually. So if a user is on a page about dogs, it searches the dog collection; page about cats, it searches the cat collection.

In my use case, the user will input their state and press search, and be directed to a list of results in that state from that specific collection (dogs/cats based on the page they are on).

Any internal solutions, or best external solutions (price is a factor)?

Thanks!