ElasticSearch 表结构信息 提取

参考:

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/

 

posted @ 2019-02-21 20:50  lvlin241  阅读(3620)  评论(0编辑  收藏  举报