Hey guys, i'm been building a search endpoint to my api. and when i try to filter the ''has_child'' query with a match\term query it returns me all the employees that have childs or none at all
here i have the way i'm indexing the documents :
and how i'm searching for the employees with certain attributes: