romseygeek opened a new issue, #16137:
URL: https://github.com/apache/lucene/issues/16137

   ### Description
   
   `IBSimilarity` with `DistributionSPL` can produce negative scores for very 
large tf values, which `TestSynonymQuery.testBoosts()` uses.  We don't have a 
good way to suppress individual Similarity implementations for tests at the 
moment, but I think in any case we should be looking to fix the root Similarity 
itself?  Impacts and competitive iterators all assume that scores can't be 
negative, a contract which this Similarity breaks.
   
   ### Gradle command to reproduce
   
   On `branch_10x`:
   ```
   ./gradlew :lucene:core:test --tests 
"org.apache.lucene.search.TestSynonymQuery.testBoosts" -Ptests.jvms=12 
-Ptests.jvmargs= -Ptests.seed=EC3CC718CF767FE7 -Ptests.useSecurityManager=false 
-Ptests.gui=true
     -Ptests.file.encoding=US-ASCII -Ptests.vectorsize=default 
-Ptests.forceintegervectors=false
   ```


-- 
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]

Reply via email to