Elastic Search is giving same score for all parent document which has nested documents

I am trying elstic search query and all my search results is showing same _score. For that i am not getting the appropriate result.
GET my_index/_search
{
"from": 0,
"size": 10,
"query": {

    "bool": {
        "must": [
            {
                "match": {
                    "Id": "xxxxx"
                }
            }
        ],
        "filter": [
            {
                "nested": {
                    "path": "names",
                    "query": {
                     
                        "bool": {
                            "should": [
                                {
                                    "match": {
                                        "names.name": {
                                            "query": "Jon wick"
                                            //"fuzziness": "AUTO"
                                        }
                                    }
                                }
                            ]
                        }
                      
                    
                    }
                    
                }
            }
        ]
    
    
  }
},

     

"_source": [
    "partyId",
    "isSearchable"

]

}

Result:
I am getting sult like below :{
"_index": "my_index",
"_id": "1",
"_score": 0.023666047,
"_source": {}
},
{
"_index": "my_index",
"_id": "2",
"_score": 0.023666047,
"_source": {}
},

It's because you are matching only on Id.
The filter part only excludes what is not matching the filter without any effect on the score.
If you want to change that, put everything in the must part.

Thank you so much for your reply. Its working now.