TestFloatVectorSimilarityQuery.testSomeDeletes fails in 9x
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
### Description
TestFloatVectorSimilarityQuery.testSomeDeletes fails reliably in 9x with:
```
org.apache.lucene.search.TestFloatVectorSimilarityQuery > testSomeDeletes FAILED
java.lang.AssertionError: expected:<89> but was:<88>
at __randomizedtesting.SeedInfo.seed([A2DAD3602A9658C6:F83F62B0ADF6F9C5]:0)
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at org.apache.lucene.search.BaseVectorSimilarityQueryTestCase.testSomeDeletes(BaseVectorSimilarityQueryTestCase.java:310)
at org.apache.lucene.search.TestFloatVectorSimilarityQuery.testSomeDeletes(TestFloatVectorSimilarityQuery.java:26)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
```
### Gradle command to reproduce
```
./gradlew test --tests TestFloatVectorSimilarityQuery.testSomeDeletes -Dtests.seed=A2DAD3602A9658C6 -Dtests.locale=dje -Dtests.timezone=Pacific/Gambier -Dtests.asserts=true -Dtests.file.encoding=UTF-8
```
Contributor guide
Research direction
Start by running the supplied Gradle command for TestFloatVectorSimilarityQuery.testSomeDeletes with the listed seed and settings. Read BaseVectorSimilarityQueryTestCase.testSomeDeletes and TestFloatVectorSimilarityQuery.testSomeDeletes, then trace the failing expected-versus-actual count; the issue is done when the test passes reliably in 9x.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100