参考:
es-sql: https://github.com/NLPchina/elasticsearch-sql/releases
执行SQL语句
SearchDao org.nlpcn.es4sql.SearchDao.SearchDao
searchDao.explain(sqlStr).explain().get();
索引列表: http://teknosrc.com/elasticsearch-java-api-get-index-list/
索引类型列表: http://teknosrc.com/elasticsearch-java-api-get-index-type-list-mapping/
类型字段列表: http://teknosrc.com/elasticsearch-java-api-get-field-list-given-index-ype/