pmpailis commented on issue #15324:
URL: https://github.com/apache/lucene/issues/15324#issuecomment-3443273632
A few more observations on the issue:
* We seem to also trip the assertion in
`Lucene101PostingsReader.BlockPostingsEnum#accumulatePendingPositions`
```java
assert posPendingCount > 0;
```
when handling `UNARY` encoding.
* The original error originates when
`Lucene101PostingsReader.BlockPostingsEnum#docID` returns `NO_MORE_DOCS`.
Tracking this back, it seems that we try to access the `NO_MORE_DOCS` entry in
`Lucene101PostingsReader.BlockPostingsEnum#docBuffer`, which AFAICT is set in
`Lucene101PostingsReader.BlockPostingsEnum#refillRemainder` . Seems like we
have exhausted the iterator, yet still we try to access and load postings.
Still looking into this, whilst also trying to generate a reproducible test
scenario.
Also, FWIW this is also reproducible in 10.2.2.
--
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]