-
Notifications
You must be signed in to change notification settings - Fork 76
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
Fix bug where ingestion failed for input document containing list of nested objects #1040
Fix bug where ingestion failed for input document containing list of nested objects #1040
Conversation
…nested objects Signed-off-by: Yizhe Liu <[email protected]>
Can we have IT test for this? |
src/main/java/org/opensearch/neuralsearch/processor/InferenceProcessor.java
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/InferenceProcessor.java
Show resolved
Hide resolved
src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorTests.java
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/InferenceProcessor.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/InferenceProcessor.java
Show resolved
Hide resolved
Thanks for the review. I tried adding IT test for it, but found a new issue in the case of doc containing list of nested objects with multiple dots To work around it, we can either
I may prefer option 1 since option 2 seems unnecessary to me. |
@yizheliu-amazon Thanks for the detail explanation. I will leave it to you to decided for the next step among the two option. Thanks! |
Signed-off-by: Yizhe Liu <[email protected]>
Signed-off-by: Yizhe Liu <[email protected]>
…nested objects (#1040) * Fix bug where ingestion failed for input document containing list of nested objects Signed-off-by: Yizhe Liu <[email protected]> * Address comments to use better method name/implementation Signed-off-by: Yizhe Liu <[email protected]> * Address comments: modify the test case to have doc with various fields Signed-off-by: Yizhe Liu <[email protected]> --------- Signed-off-by: Yizhe Liu <[email protected]> (cherry picked from commit 90df6c9)
…nested objects (#1040) (#1053) * Fix bug where ingestion failed for input document containing list of nested objects Signed-off-by: Yizhe Liu <[email protected]> (cherry picked from commit 90df6c9) Co-authored-by: Yizhe Liu <[email protected]>
…nested objects (opensearch-project#1040) (opensearch-project#1053) * Fix bug where ingestion failed for input document containing list of nested objects Signed-off-by: Yizhe Liu <[email protected]> (cherry picked from commit 90df6c9) Co-authored-by: Yizhe Liu <[email protected]>
…nested objects (#1040) * Fix bug where ingestion failed for input document containing list of nested objects Signed-off-by: Yizhe Liu <[email protected]> * Address comments to use better method name/implementation Signed-off-by: Yizhe Liu <[email protected]> * Address comments: modify the test case to have doc with various fields Signed-off-by: Yizhe Liu <[email protected]> --------- Signed-off-by: Yizhe Liu <[email protected]>
…nested objects (#1040) * Fix bug where ingestion failed for input document containing list of nested objects Signed-off-by: Yizhe Liu <[email protected]> * Address comments to use better method name/implementation Signed-off-by: Yizhe Liu <[email protected]> * Address comments: modify the test case to have doc with various fields Signed-off-by: Yizhe Liu <[email protected]> --------- Signed-off-by: Yizhe Liu <[email protected]>
Description
Fix bug where ingestion failed for input document containing list of nested objects
Related Issues
Resolves #1024
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.