Closed coszio closed 1 month ago
Example usage of the new endpoints:
import (
"context"
"github.com/qdrant/go-client/qdrant"
)
client, err := qdrant.NewClient(&qdrant.Config{
Host: "localhost",
Port: 6334,
})
sample := uint64(10)
limit := uint64(10)
res, err := client.SearchMatrixOffsets(context.Background(), &qdrant.SearchMatrixPoints{
CollectionName: "{collection_name}",
Sample: &sample,
Limit: &limit,
})
import (
"context"
"github.com/qdrant/go-client/qdrant"
)
client, err := qdrant.NewClient(&qdrant.Config{
Host: "localhost",
Port: 6334,
})
sample := uint64(10)
limit := uint64(10)
res, err := client.SearchMatrixPairs(context.Background(), &qdrant.SearchMatrixPoints{
CollectionName: "{collection_name}",
Sample: &sample,
Limit: &limit,
})
import (
"context"
"github.com/qdrant/go-client/qdrant"
)
client, err := qdrant.NewClient(&qdrant.Config{
Host: "localhost",
Port: 6334,
})
res, err := client.Facet(context.Background(), &qdrant.FacetCounts{
CollectionName: "{collection_name}",
Key: "key",
})
don't seem to be used in facet
sample := uint64(10)
limit := uint64(10)
Sorry, too much copy paste
Updates the client with the latest proto definitions, by following the contributing guide. Everything went smoothly 🏄