摘要: select table_name from information_schema.TABLES where TABLE_SCHEMA=(select database()) 阅读全文
posted @ 2020-04-03 11:24 静思,随心 阅读(385) 评论(0) 推荐(0) 编辑
摘要: private static TransportClient client = ElasticSearch.getClientSingle(); client.admin().indices().prepareCreate(indexName); 阅读全文
posted @ 2020-04-03 11:22 静思,随心 阅读(837) 评论(0) 推荐(0) 编辑
摘要: private static TransportClient client = ElasticSearch.getClientSingle();BulkRequestBuilder bulkRequestBuilder = client.prepareBulk(); List<Map<String, 阅读全文
posted @ 2020-04-03 11:20 静思,随心 阅读(345) 评论(0) 推荐(0) 编辑