spring-data-jest
spring-data-jest copied to clipboard
jestElasticSearchRestTemplate.delete(criteriaQuery,UserEntity.class) throw exception
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?