Database
[{"collection":"beerRecipes","count":100,"content":{"name":{"type":"faker","method":"BeerName"},"ingredients":{"type":"array","minLength":4,"maxLength":6,"arrayContent":{"type":"enum","randomOrder":true,"values":["water","spring water","purified water","mountain water","glacier water","H2O","barley","roasted barley","dark roasted barley","golden barley","hops","European hops","American hops","South American hops","North American hops","Asian hops","African hops","yeast","classic yeast","champagne yeast","hybrid yeast","pedigree yeast"]}}},"indexes":[{"name":"ingredients_1","key":{"ingredients":1}}]}]
Query
db.beerRecipes.aggregate([{"$set":{"interSize":{"$size":{"$setIntersection":["$ingredients",/** your ingredients/tags/etc. go here*/["European hops","North American hops","American hops","pedigree yeast","water","golden barley"]]}}}},{"$sort":{"interSize":-1}},{"$limit":5}])