How to query a collection along with a filter?

Hey guys, I want to query a collection of key coordinates using text similarity. Each KeyCoordinate has a coordinate, name, and an associatedMap. Basically, when I want to query KeyCoordinate, I want to be able to query based on the similarity to the KeyCoordinate’s name and then filter based on associatedMap. For example, if the KeyCoordinate has a name “place with books” and I query “library” then it should be able to get “place with books” but I also want to filter based on associatedMap. So for associatedMap, it must 100% match a given map name. How can I do something like this?