spring-data-jest icon indicating copy to clipboard operation
spring-data-jest copied to clipboard

jestElasticSearchRestTemplate.delete(criteriaQuery,UserEntity.class) throw exception

Open KinYu668 opened this issue 7 years ago • 0 comments

hi, I test the jestElasticSearchRestTemplate.delete(criteriaQuery,UserEntity.class) core ,throw this Exception : 1.(debug mode) NoHttpResponseException :The target server failed to respond 2.(no debug mode)ElasticsearchException:Cannot execute jest action,response code:404,error:404 not found ,message: null code: Criteria criteria=new Criteria("name"); criteria.contains("20170930"); CriteriaQuery criteriaQuery = new criteriaQuery(criteria); jestElasticSearchRestTemplate.delete(criteriaQuery,UserEntity.class);

how to deal with it?Is is a Bug?

KinYu668 avatar Sep 30 '17 09:09 KinYu668