elasticsearch-java
elasticsearch-java copied to clipboard
Search Request should support parameterized type
With Jackson we can deserialize json string with typeReference like this
objectMapper.readValue(str, new TypeReference(Map<String, Object>)() {});
But now we only support .class
transport.search(searchRequest, Map.class);