Re: Custom Query Implementation

2024-12-01 Thread Viacheslav Dobrynin
Hi! Thank you for your reply! I tried the recommendations, and below I gave an example code for implementing queries. The query with the expression works a little slower, I think this is due to the need for compilation. I have one more question, please tell me which type of field is best suited f

Re: Custom Query Implementation

2024-12-01 Thread Mikhail Khludnev
Hi, May it look like KnnFloatVectorField(... DOT_PRODUCT) and KnnFloatVectorQuery?

Re: HNSW graph `connectComponents()` method takes a very long on random vectors

2024-12-01 Thread Michael Sokolov
That's interesting! One thing I'd say is we don't want to be optimizing for the random vector use case, so from that perspective this is less concerning. However we also don't want to have poor worst-case performance, so we should address this somehow. If you want to probe for degenerate cases, yo