package InternetConnection; /** * Represents a search response from ElasticSearch. * Taken from https://github.com/rayzhangcl/ESDemo * @author zuo2 */ public class ElasticSearchResponse<T> { String _index; String _type; String _id; int _version; boolean exists; T _source; double max_score; public T getSource() { return _source; } }