-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Provide configuration property for the refresh policy of ReactiveElasticsearchTemplate #30379
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
Comments
The new |
Hi, |
@maroov Any news would be reflected in comments on this issue or changes in tags applied to it. Unfortunately this issue just hasn't risen to the top of our priority list. |
When the refresh policy is changed to null, it failed my tests in Data Elasticsearch example projects, the data saved in the before setup method is not found in the tests at all. |
What is changing it to |
@maroov I don't think this issue is going to provide what you want. There's no setter for the index options on |
See #30096 and #30378 for background. To make it easier for users to configure the refresh policy and indices options of the auto-configured
ReactiveElasticsearchTemplate
, it would be good to provide configuration properties for those two settings.There's no existing
@ConfigurationProperties
class to which these new properties could be added so we'll need to consider where we want the properties to go. The only Data Elasticsearch property that we have at the moment isspring.data.elasticsearch.repositories.enabled
. The new properties should probably go beneathspring.data.elasticsearch.template.reactive
orspring.data.elasticsearch.reactive.template
.The text was updated successfully, but these errors were encountered: