Skip to content

Use ExistsRequest replace GetRequest to check documents exists. #2728

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

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

mawen12
Copy link
Contributor

@mawen12 mawen12 commented Oct 12, 2023

Linked Issue #2726

Use ExistsRequest replace GetRequest to chek documents exists.

It mainly affects ElasticsearchTemplate and ReactiveElasticsearchTemplate.

The fourth parameter in RequestConverter#documentGetRequest(String, String, IndexCoordinates, boolean) is used to check forExistsRequest. After add ExistsRequest, the parameter can be removed.

I have run the test locally.

Use ExistsRequest replace GetRequest to check documents exists.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 12, 2023
…ects#2726

# Conflicts:
#	src/main/java/org/springframework/data/elasticsearch/client/elc/ReactiveElasticsearchTemplate.java
@sothawo sothawo merged commit 6180f59 into spring-projects:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants