-
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
RequestFactory.toElasticsearchIndicesOptions fails on empty options or wildcard states #2075
Labels
status: waiting-for-triage
An issue we've not yet triaged
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Feb 1, 2022
pnowak85
added a commit
to pnowak85/spring-data-elasticsearch
that referenced
this issue
Feb 1, 2022
…ption or WildcardState sets. Closes spring-projects#2075
pnowak85
added a commit
to pnowak85/spring-data-elasticsearch
that referenced
this issue
Feb 1, 2022
…ption or WildcardState sets. Closes spring-projects#2075
pnowak85
added a commit
to pnowak85/spring-data-elasticsearch
that referenced
this issue
Feb 1, 2022
…indicesoption-settings' of https://github.com/pnowak85/spring-data-elasticsearch into spring-projects#2075-IllegalArgumentException-on-empty-indicesoption-settings
pnowak85
added a commit
to pnowak85/spring-data-elasticsearch
that referenced
this issue
Feb 1, 2022
…empty Option or WildcardState set. Closes spring-projects#2075
5 tasks
backport to 4.3.x would be nice, as we are currently facing this issue in 4.3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you try to create custom IndicesOptions with either an empty set of Option or WildcardState you get an
IllegalArgumentException
:The empty
Option
orWildcardState
should be allowed, as for example the default STRICT_SINGLE_INDEX_NO_EXPAND_FORBID_CLOSED IndicesOption has an empty set ofWildcardState
and therefor fails if you use it.I have a working fix (and test), will create a MR once i have resolved my upstream conflicts :D
The text was updated successfully, but these errors were encountered: