You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "benwtrent (via GitHub)" <gi...@apache.org> on 2023/08/07 20:15:40 UTC

[GitHub] [lucene] benwtrent opened a new pull request, #12493: Fix test failure with zero-length vector

benwtrent opened a new pull request, #12493:
URL: https://github.com/apache/lucene/pull/12493

   Periodically, there is a vector that is randomly generated with zero-length. Here is a seeded reproduction of such a failure:
   
   ```
   ./gradlew test --tests TestLucene95HnswVectorsFormat.testVectorValuesReportCorrectDocs -Dtests.seed=36490CB18A250C0E -Dtests.locale=gsw-FR -Dtests.timezone=US/Hawaii -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   ```
   
   This adds assertions around the random test vector dimension count and continues to generate random vectors until it has a `squareSum > 0`


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] benwtrent merged pull request #12493: Fix test failure with zero-length vector

Posted by "benwtrent (via GitHub)" <gi...@apache.org>.
benwtrent merged PR #12493:
URL: https://github.com/apache/lucene/pull/12493


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org