Map<String, Object> properties = new HashMap<>();
// 用户ID
Map<String, Object> uid = new HashMap<>();
uid.put("type", "integer");
properties.put("uid", uid);
createIndex("testIndex",properties);
Map<String, Object> properties = new HashMap<>();
// 用户ID
Map<String, Object> uid = new HashMap<>();
uid.put("type", "integer");
properties.put("uid", uid);
createIndex("testIndex",properties);
Copyright © 2020. All rights reserved.