jpountz commented on PR #14067: URL: https://github.com/apache/lucene/pull/14067#issuecomment-2545527000
Indeed. We have a few such assertions already, e.g. to check that docs returned by the child query don't match the parent bitset. Adding a few more would be good if it can be done in a reasonable fashion (e.g. not forcing nextDoc() / advance() to be called just for the sake of validation). The block-join module also has `CheckJoinIndex`, which is expected to be used in a more offline fashion and will catch such bugs. https://github.com/apache/lucene/blob/a8d8d6b3d9efd483d29cb1aa8ff85672ad2be049/lucene/join/src/java/org/apache/lucene/search/join/CheckJoinIndex.java#L63-L84 -- 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-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org