msokolov opened a new issue, #15209:
URL: https://github.com/apache/lucene/issues/15209
### Description
We have a wave of failing tests due to an exception in VectorUtils like this
one:
```
java.lang.AssertionError: not finite: NaN from <[NaN, NaN, NaN, NaN],[NaN,
NaN, NaN, NaN]>
> at
org.apache.lucene.util.VectorUtil.dotProduct(VectorUtil.java:68)
> at
org.apache.lucene.codecs.lucene104.Lucene104ScalarQuantizedVectorsWriter$QuantizedFloatVectorValues.<init>(Lucene104ScalarQuantizedVectorsWriter.java:702)
> at
org.apache.lucene.codecs.lucene104.Lucene104ScalarQuantizedVectorsWriter.mergeOneFieldToIndex(Lucene104ScalarQuantizedVectorsWriter.java:434)
> at
org.apache.lucene.codecs.lucene104.Lucene104ScalarQuantizedVectorsWriter.mergeOneFieldToIndex(Lucene104ScalarQuantizedVectorsWriter.java:409)
> at
org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsWriter.mergeOneField(Lucene99HnswVectorsWriter.java:373)
> at
org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat$FieldsWriter.mergeOneField(PerFieldKnnVectorsFormat.java:128)
> at
org.apache.lucene.codecs.KnnVectorsWriter.merge(KnnVectorsWriter.java:105)
...
```
gradlew test --tests
TestLucene104HnswScalarQuantizedVectorsFormat.testEmptyFloatVectorData
-Dtests.seed=462DC933586DDAED -Dtests.multiplier=3 -Dtests.nightly=true
-Dtests.locale=ksf-CM -Dtests.timezone=America/Nassau -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
### Version and environment details
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]