-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] The index setting "ignore_malformed" is not working properly #4002
Labels
Comments
Should I try to make a fix? |
@hauck-jvsh Please! |
hauck-jvsh
added a commit
to hauck-jvsh/OpenSearch
that referenced
this issue
Sep 13, 2022
…gnore_malformed is set to true; Signed-off-by: Hauck <joaoh14@gmail.com>
3 tasks
Sorry for the delay, but I finally get some time to work on this. |
Should I close this? |
Yep, assuming #4494 closes this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The "ignore_malformed" option should allow inconsistent data to be indexed, losing only the malformed fields, but it is ignoring the entire item.
To Reproduce
"name":"test 1",
"other_field":"string content"
}
"name":"test 2",
"other_field":{"comment":"object content","size":2}
}
Expected behavior
In this situation the second item should be indexed only the field "other_field" should be missed, but the hole item is lost.
Host/Environment (please complete the following information):
Additional context
I'm using this to index a lot of unstructured data, and sometimes a few fields are invalid, but it shouldn't lose the valid fields.
The text was updated successfully, but these errors were encountered: