e spin-up time shorter due to use of Java 15+ features for
> anonymous classes and dynamic constants, which are not available in
> Lucene 9.x.
>
> Uwe
>
> Am 01.12.2024 um 10:57 schrieb Viacheslav Dobrynin:
> > Hi!
> >
> > Thank you for your reply!
cene/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 Dobry
> can form a BooleanQuery from the terms in the sparse search vector and
> use a simple similarity that sums the term frequencies for ranking. As
> long as the number of non-zero dimensions in the query is low, this
> should be efficient
>
> On Mon, Dec 2, 2024 at 1:17 PM Viacheslav
> On Mon, Dec 2, 2024, 09:03 Viacheslav Dobrynin 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.
> >
> &
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 :
> Hi,
> May it look like KnnFloatVectorField(... DOT_PRODUCT)
> and KnnFloatVect
c: $hitDoc. Score: ${hits[i].score}")
}
reader.close()
}
Best Regards,
Viacheslav Dobrynin!
сб, 30 нояб. 2024 г. в 22:11, Mikhail Khludnev :
> Hi,
> Can't it be better done with FunctionQuery and proper ValueSources? Please
> also check Lucene Expressions?
>
>
chanism for the following index:
term1 -> (doc_id1, score), (doc_idN, score), ...
termN -> (doc_id1, score), (doc_idN, score), ...
Where resulting score will be calculated as:
sum(scores) by doc_id for terms in some query
Thank you in advance!
Best Regards,
Viacheslav Dobrynin!