-
I have a collection with so many vectors, when I create it, I store the index on disk, see as below
Now I fount that I have enough RAM to load all of the vectors, so I changed the collection params like that
But it not works,So how should I do to reach my goal? |
Beta Was this translation helpful? Give feedback.
Answered by
xtyDoge
Aug 30, 2023
Replies: 1 comment 3 replies
-
Could you elaborate on why it doesn't work? Do you receive an error, or is nothing happening? You may have to explicitly specify the vector name, which will be an empty string for collections without named vectors. In that case, you should change your PATCH request to: PATCH /collections/t_feed_image_stress_test_202308
{
"config": {
"params": {
"vectors": {
"": {
"size": 512,
"distance": "Euclid",
"on_disk": false
}
},
"on_disk_payload": false
}
},
"hnsw_config": {
"m": 16,
"ef_construct": 128,
"full_scan_threshold": 10000,
"max_indexing_threads": 4,
"on_disk": false
}
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I successfully done with specify the vector name as "", I use the parms incorrect, so it doesn't work. Params below will work
Appreciate for your answer