-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Only index type possible for bulk inserts, causes error with data-streams #2089
Comments
currently it is not possible to set this. I change this issue to a feature request. |
Hey @sothawo just wanted to check if this enhancement will be implemented soon? Any update would be appreciated. |
Spring Data Elasticsearch is a community driven project, there is no dedicated team anywhere working on it. I as a project lead manage / review contributions and as a maintainer add code myself. But I'm doing this in my spare time. |
It was just a question for an update on this issue, no demand that it should be implemented soon. Sorry if that came off wrong at your side. We will, of course, wait for the implementation. Thanks for your work, appreciate the effort! |
just for the record... I stumbled upon this same point (datastream vs the missing optype on saving) and forked that part locally by adding the ability to get the optType from a parameter on Document annotation of a given Entity here Line 582 in 7092e04
|
Had no time yet to look intothis, but I think we should not add a detail like |
and something like that? main...koshnarek:spring-data-elasticsearch:main |
I,d rather put that as a property on the |
Currently, if you do a saveAll, the IndexQuery is build with OpType INDEX. This causes an error if you want to use it with a data-stream, as only create actions are allowed. Is this somehow planned to be implemented, that you can configure the query type on bulk inserts?
The text was updated successfully, but these errors were encountered: