Morning.
I noticed a condition choosing sparse and dense format underneath
https://github.com/apache/lucene/blob/6053e1e31378378f6d310a05ea6d7dcdfc45f48b/lucene/core/src/java/org/apache/lucene/codecs/lucene95/OffHeapByteVectorValues.java#L108
perhaps it may achieve your performance requirements.


On Mon, Dec 2, 2024 at 8:03 PM Viacheslav Dobrynin <w.v.d...@gmail.com>
wrote:

> Hi!
>
> I need to index sparse vectors, whereas as I understand it,
> KnnFloatVectorField is designed for dense vectors.
> Therefore, it seems that this approach will not work.
>
> вс, 1 дек. 2024 г. в 18:36, Mikhail Khludnev <m...@apache.org>:
>
> > Hi,
> > May it look like KnnFloatVectorField(... DOT_PRODUCT)
> > and KnnFloatVectorQuery?
> >
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to