Get APIedit

The get API allows to get a typed JSON document from the index based on its id. The following example gets a JSON document from an index called twitter, under a type called tweet, with id valued 1:

GetResponse response = client.prepareGet("twitter", "tweet", "1")
        .execute()
        .actionGet();

For more information on the get operation, check out the REST get docs.