If I have
{
"took": 4,
"timed_out": false,
"hits": {
"total": 14,
"max_score": 1,
"hits": [
{
"_index": "someIndex",
"_source": {
"id": "de",
"title": "something 1"
},
"_index": "someIndex",
"_source": {
"id": "def",
"title": "something 1"
}
}
]
}
}
How can I extract only the list of sources but using a simple ObjectMapper
method? I do not want to process by myself every node.