全网最好 elasticsearch6 案例
1. 目标
拿自己5000条电器商品库与10w条美的商品库 在 `elasticsearch6.8.8` 中进行匹配 检索相似度最高的项目
2. excel 导入数据
使用easyexcel读取excel 使用bulkrequest 导入es
3. 测试依据id获取数据
HttpHost httpHost = new HttpHost("localhost", 9200, "http");
RestClientBuilder builder = RestClient.build
原创
2020-06-05 10:43:49 ·
206 阅读 ·
0 评论