limitFilter is not working

Hello I have 5 entries matching this query. although I am setting a filter
to retrieve only 1, I still get all 5 of them:

{
"query": {
"bool": {
"must": [
{
"nested": {
"query": {
"wildcard": {
"B.D": "abc346078206426"
}
},
"path": "B"
}
},
{
"nested": {
"query": {
"wildcard": {
"A.A": "prefix_*@foo.com"
}
},
"path": "A"
}
}
]
}
},

  • "filter": {*
  • "limit": {*
  •  "value": 1*
    
  • }*
  • }*
    }

--