Commit f9b5c52f authored by shiyu's avatar shiyu

es同步数据

parent 8a052646
......@@ -149,7 +149,8 @@ public class ItemEsDao {
List<BulkOperation> opts = new ArrayList<>();
for (Item item : itemList) {
CreateOperation<Item> optObj = new CreateOperation.Builder<Item>()
.index(INDEX)
.index("quanku_prod_temp")
// .index(INDEX)
.id(String.valueOf(item.getId()))
.document(item)
.build();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment