You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gaobinlong opened this issue
Dec 13, 2023
· 0 comments
Labels
bugSomething isn't workingIndexingIndexing, Bulk Indexing and anything related to indexingv2.12.0Issues and PRs related to version 2.12.0v3.0.0Issues and PRs related to version 3.0.0
When calling simulate ingest pipeline API, if the remove processor is used and the metadata field _version_type is not specified for the document, then the API always throws illegal_argument_exception which is not as expected.
This bug relates to this line which was added in this PR: #10895 :
bugSomething isn't workingIndexingIndexing, Bulk Indexing and anything related to indexingv2.12.0Issues and PRs related to version 2.12.0v3.0.0Issues and PRs related to version 3.0.0
Describe the bug
When calling simulate ingest pipeline API, if the remove processor is used and the metadata field
_version_type
is not specified for the document, then the API always throws illegal_argument_exception which is not as expected.This bug relates to this line which was added in this PR: #10895 :
OpenSearch/modules/ingest-common/src/main/java/org/opensearch/ingest/common/RemoveProcessor.java
Line 91 in 074bc6a
I'll open a PR to fix this bug and add some yml test for it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Simulate ingest pipeline API runs well no matter the metadata field
_version_type
is specified or not.Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: