-
Notifications
You must be signed in to change notification settings - Fork 144
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
[Remote Vector Index Build] Introduce RemoteIndexClient skeleton and Build Request construction #2560
Merged
jmazanec15
merged 18 commits into
opensearch-project:main
from
owenhalpert:vector-client-skeleton
Mar 4, 2025
Merged
[Remote Vector Index Build] Introduce RemoteIndexClient skeleton and Build Request construction #2560
jmazanec15
merged 18 commits into
opensearch-project:main
from
owenhalpert:vector-client-skeleton
Mar 4, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3fb30f9
to
2095bba
Compare
19 tasks
jed326
reviewed
Feb 25, 2025
src/main/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategy.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategy.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategy.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClientRetryStrategy.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClientRetryStrategy.java
Outdated
Show resolved
Hide resolved
jed326
reviewed
Feb 25, 2025
src/main/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategy.java
Outdated
Show resolved
Hide resolved
...st/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategyTests.java
Outdated
Show resolved
Hide resolved
8d43195
to
1f8b36d
Compare
navneet1v
reviewed
Feb 26, 2025
jed326
reviewed
Feb 26, 2025
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.
Thanks @owenhalpert , the approach here LGTM, think we're just missing some tests related to submitVectorBuild
and the settings.
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexHTTPClient.java
Outdated
Show resolved
Hide resolved
src/test/java/org/opensearch/knn/index/remote/RemoteIndexClientTests.java
Outdated
Show resolved
Hide resolved
src/test/java/org/opensearch/knn/index/remote/RemoteIndexClientTests.java
Outdated
Show resolved
Hide resolved
7076818
to
a8a4400
Compare
jed326
reviewed
Feb 26, 2025
src/main/java/org/opensearch/knn/index/remote/RemoteIndexClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexHTTPClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/knn/index/remote/RemoteIndexHTTPClient.java
Outdated
Show resolved
Hide resolved
2b069b8
to
5176e70
Compare
jed326
approved these changes
Mar 4, 2025
Add RemoteIndexClient initial implementation, its accompanying dependencies, and Build Request, Retry Strategy, and test files Signed-off-by: owenhalpert <ohalpert@gmail.com> # Conflicts: # CHANGELOG.md # src/main/java/org/opensearch/knn/index/KNNSettings.java # src/main/java/org/opensearch/knn/index/codec/nativeindex/NativeIndexBuildStrategyFactory.java # src/main/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategy.java # src/test/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategyTests.java # Conflicts: # CHANGELOG.md # src/main/java/org/opensearch/knn/index/codec/nativeindex/remote/RemoteIndexBuildStrategy.java # Conflicts: # CHANGELOG.md
Extract interface, remove out of scope methods, move build request to client, refactors Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
…parameters, secure setting testing Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Refactor, further delineate responsibilities of client vs. build request, add more abstraction Signed-off-by: owenhalpert <ohalpert@gmail.com>
…Request using serialization logic (XContent) Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: owenhalpert <ohalpert@gmail.com>
1dc54cd
to
6db364c
Compare
Signed-off-by: owenhalpert <ohalpert@gmail.com>
6db364c
to
75b1afa
Compare
navneet1v
approved these changes
Mar 4, 2025
jmazanec15
approved these changes
Mar 4, 2025
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.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
First PR for #2518 (Client Skeleton, Build Request)
This PR introduces the initial implementation of the Remote Index client.
In this PR, I have implemented:
In the next PR's, I will implement:
Related Issues
#2391 Meta Issue
#2393 HLD by @jed326
#2518 My LLD
Check List
- [ ] New functionality has been documented.- [ ] API changes companion pull request created.--signoff
.- [ ] Public documentation issue/PR created.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.