I have indexed my email and trying to get the values of all senders email address.
I used
Get exchangemails/email/_search?_source=sender
This returns
{
"took": 3,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 21,
"max_score": 1,
"hits": [
{
"_index": "exchangemails",
"_type": "email",
"_id": "AVxyx7bddd6P8H4c9eLT",
"_score": 1,
"_source": {
"sender": "abc@gmail.com"
}
},
.....
{
"_index": "exchangemails",
"_type": "email",
"_id": "AVxyx1vZ6P8H4c9b6eJu",
"_score": 1,
"_source": {
"sender": "xyz@gmail.com"
}
}
]
}
}
The hits total count is correct but it returns only 10 results
What is the issue here...