Filter Nested Objects

Hello guys i have this nested schema what i want to do is to search episodes.objects.name and filter the returned array based on the matching objects
Any help

{  
   "mappings":{  
      "properties":{  
         "episodes":{  
            "type":"nested",
            "properties":{  
               "objects":{  
                  "type":"nested",
                  "properties":{  
                     "name":{  
                        "type":"text",
                        "fields":{  
                           "english":{  
                              "type":"text",
                              "analyzer":"english_analyzer"
                           },
                           "arabic":{  
                              "type":"text",
                              "analyzer":"arabic_analyzer"
                           }
                        }
                     }
                  }
               },
               "faces":{  
                  "type":"nested",
                  "properties":{  
                     "first_name":{  
                        "type":"text",
                        "analyzer":"english_analyzer"
                     },
                     "last_name":{  
                        "type":"text",
                        "analyzer":"english_analyzer"
                     },
                     "full_name":{  
                        "type":"text",
                        "analyzer":"english_analyzer"
                     }
                  }
               },
               "speech":{  
                  "type":"nested",
                  "properties":{  
                     "exact_text":{  
                        "type":"text",
                        "fields":{  
                           "english":{  
                              "type":"text",
                              "analyzer":"english_analyzer"
                           },
                           "arabic":{  
                              "type":"text",
                              "analyzer":"arabic_analyzer"
                           }
                        }
                     }
                  }
               }
            }
         },
         "genre":{  
            "type":"text",
            "fields":{  
               "english":{  
                  "type":"text",
                  "analyzer":"english_analyzer"
               },
               "arabic":{  
                  "type":"text",
                  "analyzer":"arabic_analyzer"
               }
            }
         }
      }
   }
}