-
Notifications
You must be signed in to change notification settings - Fork 11
v1.16.0 #86
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
Merged
v1.16.0 #86
Changes from 3 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fb7ab1d
v1.16.0
Anush008 22c78dd
chore: Use dev
Anush008 a5c5ca2
test: Use list collections to check for auth instead of health check
Anush008 d4a16d9
feat: Added VectorOutputHelper
Anush008 a50d12d
matchTextAny
Anush008 bbc813e
feat: Added new RRF Query helper.
Anush008 92532ab
chore: Added one overload for updateVectors null timeout
Anush008 1f1be8b
chore: Updated imports as per https://github.com/qdrant/qdrant/pull/7536
Anush008 3303e83
chore: Bump image and protos to v1.16.0
Anush008 9464396
feat: Expose getCollectionClusterInfoAsync and getCollectionClusterIn…
Anush008 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| # The version of qdrant to use to download protos | ||
| qdrantProtosVersion=v1.15.0 | ||
| qdrantProtosVersion=dev | ||
|
|
||
| # The version of qdrant docker image to run integration tests against | ||
| qdrantVersion=v1.15.0 | ||
| qdrantVersion=dev | ||
|
|
||
| # The version of the client to generate | ||
| packageVersion=1.15.0 | ||
| packageVersion=1.16.0 | ||
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,8 +9,8 @@ | |
| import io.grpc.ManagedChannel; | ||
| import io.grpc.Status; | ||
| import io.grpc.StatusRuntimeException; | ||
| import io.qdrant.client.grpc.QdrantOuterClass.HealthCheckReply; | ||
| import io.qdrant.client.grpc.QdrantOuterClass.HealthCheckRequest; | ||
| import io.qdrant.client.grpc.Collections.ListCollectionsRequest; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Health check isn't behind auth anymore. |
||
| import io.qdrant.client.grpc.Collections.ListCollectionsResponse; | ||
| import java.util.concurrent.ExecutionException; | ||
| import java.util.concurrent.TimeUnit; | ||
| import org.junit.jupiter.api.AfterEach; | ||
|
|
@@ -44,15 +44,14 @@ public void teardown() throws InterruptedException { | |
|
|
||
| @Test | ||
| public void client_with_api_key_can_connect() throws ExecutionException, InterruptedException { | ||
| HealthCheckReply healthCheckReply; | ||
| ListCollectionsResponse listCollectionsResponse; | ||
| try (QdrantGrpcClient grpcClient = | ||
| QdrantGrpcClient.newBuilder(channel).withApiKey("password!").build()) { | ||
| healthCheckReply = | ||
| grpcClient.qdrant().healthCheck(HealthCheckRequest.getDefaultInstance()).get(); | ||
| listCollectionsResponse = | ||
| grpcClient.collections().list(ListCollectionsRequest.getDefaultInstance()).get(); | ||
| } | ||
|
|
||
| assertNotNull(healthCheckReply.getTitle()); | ||
| assertNotNull(healthCheckReply.getVersion()); | ||
| assertNotNull(listCollectionsResponse.getCollectionsList()); | ||
| } | ||
|
|
||
| @Test | ||
|
|
@@ -61,7 +60,8 @@ public void client_without_api_key_cannot_connect() { | |
| ExecutionException executionException = | ||
| assertThrows( | ||
| ExecutionException.class, | ||
| () -> grpcClient.qdrant().healthCheck(HealthCheckRequest.getDefaultInstance()).get()); | ||
| () -> | ||
| grpcClient.collections().list(ListCollectionsRequest.getDefaultInstance()).get()); | ||
| Throwable cause = executionException.getCause(); | ||
| assertEquals(StatusRuntimeException.class, cause.getClass()); | ||
| StatusRuntimeException statusRuntimeException = (StatusRuntimeException) cause; | ||
|
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.