Last active
May 21, 2020 08:27
-
-
Save talfco/4b382bb13fa8ea50158b890f53e2ea81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public JsonObject readDocumentByIdAsObject(String index, String id) throws IOException{ | |
return esClient.execute(new Get.Builder(index, id).build()).getJsonObject(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment