Add spec for neural search plugin stats API#850
Add spec for neural search plugin stats API#850dblock merged 7 commits intoopensearch-project:mainfrom
Conversation
dblock
left a comment
There was a problem hiding this comment.
If the neural plugin is enabled by default place tests under default. Adding something to tests/plugins/xyz doesn't automatically execute them, that requires updating CI test.yml.
|
Thanks for taking a look. This API is available from 3.0 beta onwards so I added a new entry in the test spect for it based on the release tag on docker hub following this part of the testing readme. I'm not super familiar with the CI and how the release process works, let me know if there's any additional changes needed |
This CI here may be confusing, so appreciate you hanging here with me. The documentation could use help to make it clearer (wink, wink).
Does this make sense? |
|
Yup, thanks for the swift reply!
|
Someone should upgrade to beta ASAP to test things before they get released. Including this plugin.
If the plugin is not installed by default then yes. You will need to customize Dockerfile accordingly. I did click the button to run CI on this PR as is, it might yield other problems.
Yep. |
Changes AnalysisCommit SHA: f1b217f API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/14889631690/artifacts/3085602527 API Coverage
|
|
@dblock 3.0.0-beta1 released a few days ago, I've included changes for the version matrix bump in this PR. Happy to break it up into a separate PR as well if that makes more sense. I've also verified neural-search is included in the release artifact by default with the following: Some question about this:
|
Signed-off-by: Andy Qin <qinandy@amazon.com>
Signed-off-by: Andy Qin <qinandy@amazon.com>
Signed-off-by: Andy Qin <qinandy@amazon.com>
|
@dblock Addressed remaining comments and also the tests to default since neural search is installed by default. I've also added Tests pass locally with |
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
|
Changes look good. Fix spec linting / validation and it's good to go. |
Spec Test Coverage Analysis
|
Signed-off-by: Andy Qin <qinandy@amazon.com>
|
Thanks, fixed the failing workflows. All of the following commands run successfully: |
Description
Spec for neural stats API added to feature branch in this PR: opensearch-project/neural-search#1256
Example API responses and test run output:
Issues Resolved
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.