Luca Garulli
Luca Garulli
Are you using the old HSNW or the new LSM Vector?
Yes, we still need to do those things to improve startup time + initial RAM used
@ExtReMLapin please get the latest main branch, I've just pushed some fixes to the LSM vector and optimization (60% less space on disk). I've also just added a test case...
Is there a way you can upload this database as a zip? Or a test case to reproduce the same content?
How do you store the array of floats in the vertex/document? Using a list of object ?
I've improved the exception to contain the failed query and parameters, so you can check what's wrong. Please let me know if happens again and please attach the new exception.
@tae898 I think the issue is the lazy loading of vectors. We leave the vectors in the documents/vertices, so when the find neighbors is called, the jvector graph (serialized in...
This fix slowed down many query execution, reopening it.
We need to add a score to the result and then order by score before providing the result. The score algorithm could be super simple: +1 for each matched word.
Working on this isse, the concept of score is already implemented inside the full text index, we just need to expose it.