-
Notifications
You must be signed in to change notification settings - Fork 72
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 nested field missing sub embedding field #913
Fix nested field missing sub embedding field #913
Conversation
@wdongyu is this PR is work in progress or ready for review? bunch of tests are failing... |
@martin-gaievski will rerun and fix them... :( |
@wdongyu Can you check failing CIs: https://github.com/opensearch-project/neural-search/actions/runs/10987606139/job/30536408453?pr=913? |
@yuye-aws working in process, I have found the problem and try to reproduce it on my dev box. It's related to the inference text which is null but sent to mlCommonsClientAccessor |
Great! Looking forward to see your new commits. |
In the last commit, I have done:
Please correct me if I am wrong. @martin-gaievski @yuye-aws |
Thanks! Will review this PR tomorrow. @martin-gaievski please start the CI workflow. |
src/main/java/org/opensearch/neuralsearch/processor/InferenceProcessor.java
Outdated
Show resolved
Hide resolved
@@ -203,6 +203,7 @@ protected void loadModel(final String modelId) throws Exception { | |||
isComplete = checkComplete(taskQueryResult); | |||
Thread.sleep(DEFAULT_TASK_RESULT_QUERY_INTERVAL_IN_MILLISECOND); | |||
} | |||
assertTrue(isComplete); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
@wdongyu Please run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wdongyu It is nice of you to implement high-quality ut and it code. Just need to resolve the following comments.
src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorTests.java
Show resolved
Hide resolved
src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorTests.java
Show resolved
Hide resolved
src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorTests.java
Show resolved
Hide resolved
src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorTests.java
Show resolved
Hide resolved
Triggered checks. I will review the PR today |
Resolve all above conversations @yuye-aws @martin-gaievski @vibrantvarun |
Good. Taking a look |
The code looks good to me. Thanks for the contribution @wdongyu . Can @martin-gaievski or @vibrantvarun start the CI workflow? |
Please rebase with main and LGTM, Thanks |
Signed-off-by: wangdongyu.danny <[email protected]>
Signed-off-by: wangdongyu.danny <[email protected]>
Signed-off-by: wangdongyu.danny <[email protected]>
Signed-off-by: wangdongyu.danny <[email protected]>
Signed-off-by: wangdongyu.danny <[email protected]>
d3dae05
to
de1a736
Compare
Rebase done, please start the CI workflow when you are available @martin-gaievski @vibrantvarun. |
Thank you! CI is running now. Will approve your PR once the CI gets all passed. |
Bunch of tests are still failing, most of them are NoClassDefFoundError, and one of them is for testAgainstOldCluster. Am I missing somethings? @yuye-aws |
Hi @wdongyu ! I do not think you have missed anything. The following error log seems to be a problem from k-NN repo. Might have time to check it tomorrow.
|
A PR has been merged into the k-NN repo: opensearch-project/k-NN#2195. Hopefully the k-NN artifact can fix the CI error. I will rerun the CI later. |
You need to wait for #927 to be merged, CI will keep failing until then |
#927 gets merged. Rerunning the CI now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All CI checks have passed. Thanks for your patience and contribution @wdongyu !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, thanks for contribution.
* Adding non empty check before filling in result Signed-off-by: wangdongyu.danny <[email protected]> (cherry picked from commit b15052c)
* Adding non empty check before filling in result Signed-off-by: wangdongyu.danny <[email protected]> (cherry picked from commit b15052c) Co-authored-by: wdongyu <[email protected]>
With many thanks for all of you. |
* Adding non empty check before filling in result Signed-off-by: wangdongyu.danny <[email protected]>
Description
Detail description in #909, this pull add empty check before filling in the result
Related Issues
Resolves #909
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.