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

payload indices with False/None params created via grpc raises an exception on get_collection via http client #764

Closed
joein opened this issue Sep 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@joein
Copy link
Member

joein commented Sep 3, 2024

qdrant-client 1.11.1
qdrant 1.11.3

from qdrant_client import QdrantClient, models

cl = QdrantClient(prefer_grpc=True)
if cl.collection_exists("cn"):
    cl.delete_collection("cn")
cl.create_collection(
    "cn", vectors_config=models.VectorParams(size=2, distance=models.Distance.COSINE)
)
cl.create_payload_index(
    "cn",
    "docs",
    models.IntegerIndexParams(type=models.IntegerIndexType.INTEGER, lookup=True, range=False),
)
cl = QdrantClient()
print(cl.get_collection("cn").payload_schema)
@joein joein added the bug Something isn't working label Sep 3, 2024
@joein
Copy link
Member Author

joein commented Sep 17, 2024

#773

@joein joein closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant