gf2121 commented on issue #12895:
URL: https://github.com/apache/lucene/issues/12895#issuecomment-1848413874

   Thanks for all the discussion, and so sorry for introducing this bug!
   
   > 
https://github.com/apache/lucene/pull/12699/files#diff-c30add12e4170e7905cdb0912fd869d447b5b1772d74c9fcaf0afe41cd58866aL200-R204
 Now instead of giving a complete view of all appended arcs, there is this 
weird assumption that we only give one to floorDataReader
   
   This is actually one of the motivation of this PR. This works because we can 
not have two same fp encoded before floor data. I think this assumption works 
well for now, otherwise we will break this 
[assert](https://github.com/apache/lucene/blob/a9b5ef474958ecee6f305bffe253b53cb58d5591/lucene/core/src/java/org/apache/lucene/codecs/lucene90/blocktree/SegmentTermsEnum.java#L1215)
 before meeting these exceptions.
   
   > 
https://github.com/apache/lucene/pull/12699/files#diff-c30add12e4170e7905cdb0912fd869d447b5b1772d74c9fcaf0afe41cd58866aR200-L202.
 The frame outputPrefix is then set as the accumulation of all the arc outputs. 
I am not sure if this is relevant as for it to be important getFrame would have 
to return a frame already seen before, I am not sure if that is valid or not.
   
   This change is not actually intended. I suspect the bug is caused by this. 
I'll dig more to confirm.
   
   > Maybe we just revert and release 9.9.1 now?
   
   +1 to revert it. Thanks @javanna for raising the revert PR! 
   BTW I wonder if we can only revert the part of `IntersectTermsEnum` and keep 
the change in `SegmentTermsEnum`, as it seems all exceptions are found in 
`IntersectTermsEnum`.
   
   
   


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

Reply via email to