@Service public class EsManipulateServiceImpl extends Object implements EsManipulateService
public String insert(String index, String type, String id, Object entity)
EsManipulateService
insert
在接口中 EsManipulateService
index
- 索引type
- 索引类型id
- 主键entity
- 实体对象public boolean update(String index, String type, String id, Object entity)
EsManipulateService
update
在接口中 EsManipulateService
index
- 索引type
- 索引类型id
- 主键entity
- 实体对象public boolean delete(String index, String type, String id)
EsManipulateService
delete
在接口中 EsManipulateService
index
- 索引type
- 索引类型id
- 主键