Skip to content
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

v1.12.0 #72

Merged
merged 8 commits into from
Oct 8, 2024
Merged

v1.12.0 #72

merged 8 commits into from
Oct 8, 2024

Conversation

IvanPleshkov
Copy link
Contributor

@IvanPleshkov IvanPleshkov commented Oct 7, 2024

Qdrant v1.12 API updates

New APIs examples

using Qdrant.Client;
using Qdrant.Client.Grpc;

var client = new QdrantClient("localhost", 6334);

await client.SearchMatrixOffsetsAsync(
	"collection",
	filter: MatchKeyword("bar", "hello"),
	sample: 3,
    	limit: 2
);
using Qdrant.Client;
using Qdrant.Client.Grpc;

var client = new QdrantClient("localhost", 6334);

await client.SearchMatrixPairsAsync(
	"collection",
	filter: MatchKeyword("bar", "hello"),
	sample: 3,
    	limit: 2
);
using Qdrant.Client;
using Qdrant.Client.Grpc;

var client = new QdrantClient("localhost", 6334);

await client.FacetAsync(
	"collection_1",
	filter: MatchKeyword("bar", "hello"),
	key: "foo",
	limit: 2
);

TODO

  • bump version after container release

Directory.Build.props Outdated Show resolved Hide resolved
Comment on lines 570 to 575
await _client.FacetAsync(
"collection_1",
filter: MatchKeyword("bar", "hello"),
key: "foo",
limit: 2
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this assert something about the response?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test checks only API validity. I used it to test snippets in PR description which will be included in the documentation. Do you think it's unnecessary?

Comment on lines 590 to 595
await _client.SearchMatrixOffsetsAsync(
"collection_1",
filter: MatchKeyword("bar", "hello"),
sample: 3,
limit: 2
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this assert something about the response?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test checks only API validity. I used it to test snippets in PR description which will be included in the documentation. Do you think it's unnecessary?

tests/Qdrant.Client.Tests/PointTests.cs Outdated Show resolved Hide resolved
tests/Qdrant.Client.Tests/PointTests.cs Outdated Show resolved Hide resolved
tests/Qdrant.Client.Tests/PointTests.cs Outdated Show resolved Hide resolved
@IvanPleshkov IvanPleshkov merged commit 9cb3f54 into main Oct 8, 2024
2 checks passed
@IvanPleshkov IvanPleshkov deleted the v1.12.0 branch October 8, 2024 15:09
Copy link

@kraniet888 kraniet888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants