Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KinYu668 opened this issue Sep 30, 2017 · 0 comments

Comments

@KinYu668
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant