I’m trying to get started with Qdrant and having issues with empty vectors.
I add my points, and there are no errors, but searches always return the same results.
So, I decided to test by walking through the Quickstart tutorial.
When I run
// create collection
PUT collections/star_charts
{
"vectors": {
"size": 4,
"distance": "Dot"
}
}
// add points
PUT collections/star_charts/points
{
"points": [
{
"id": 1,
"vector": [0.05, 0.61, 0.76, 0.74],
"payload": {
"colony": "Mars"
}
},
{
"id": 2,
"vector": [0.19, 0.81, 0.75, 0.11],
"payload": {
"colony": "Jupiter"
}
},
{
"id": 3,
"vector": [0.36, 0.55, 0.47, 0.94],
"payload": {
"colony": "Venus"
}
},
{
"id": 4,
"vector": [0.18, 0.01, 0.85, 0.80],
"payload": {
"colony": "Moon"
}
},
{
"id": 5,
"vector": [0.24, 0.18, 0.22, 0.44],
"payload": {
"colony": "Pluto"
}
}
]
}
// search via vector embeddings
POST collections/star_charts/points/search
{
"vector": [0.2, 0.1, 0.9, 0.7],
"limit": 3,
"with_payload": true,
"with_vectors": true
}
I get
{
"result": [
{
"id": 4,
"version": 0,
"score": 0,
"payload": {
"colony": "Moon"
},
"vector": [
0,
0,
0,
0
]
},
{
"id": 1,
"version": 0,
"score": 0,
"payload": {
"colony": "Mars"
},
"vector": [
0,
0,
0,
0
]
},
{
"id": 2,
"version": 0,
"score": 0,
"payload": {
"colony": "Jupiter"
},
"vector": [
0,
0,
0,
0
]
}
],
"status": "ok",
"time": 0.000586909
}
So even with the simple startup example, the vectors are zeroed out.
Does anyone know why this would happen?
Thanks!