I'm looking into Java High Level REST Client API and as far as I can see, there is to convinent ways to retrieve search result entity
- As json string:
- As map:
However in Jest there is a way to cast search results right away:
List<Article> articles = result.getSourceAsObjectList(Article.class);
Is this feature planned for implementation, or I just missed something?