When you create the vector search index, add a filter field for every attribute you plan to filter on (category, year, tenant id, and so on). Put the filter inside $vectorSearch rather than in a downstream $match so the ANN search only considers matching documents. If a filtered query returns nothing, check the index definition first: the missing filter field declaration is the usual cause.

Context: Mongoose Atlas Vector Search docs (grounded in the official MongoDB docs): you can use the filter option inside $vectorSearch to pre-filter documents, but any field you filter on must be declared as a filter field in the index definition (type filter with the field path). Filtering on a field that is not declared as a filter field does not work. The filter accepts standard MongoDB query operators, and pre-filtering narrows the candidate set before the vector comparison, which is both faster and more precise than post-filtering in a later $match.