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

Remove redundant configuration of ReactiveElasticsearchTemplate.setRefreshPolicy(RefreshPolicy.IMMEDIATE) #30375

Closed
wilkinsona opened this issue Mar 22, 2022 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@wilkinsona
Copy link
Member

See #30096 for background.

We currently call ReactiveElasticsearchTemplate.setRefreshPolicy(RefreshPolicy.IMMEDIATE) which is redundant as RefreshPolicy.IMMEDIATE is the default. Should the default in Spring Data Elasticsearch change in the future, things will then get out of sync. We should remove the call to setRefreshPolicy so that we always use whatever the SD Elasticsearch default is.

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

No branches or pull requests

1 participant