msokolov commented on issue #9721:
URL: https://github.com/apache/lucene/issues/9721#issuecomment-2080592940
I guess we can use the new "parent field" to enforce that intervals must end
on a non-child document, and we have to refuse to attempt query execution over
sub-leaf interval if there are doc blocks and no parent field, at least if the
query is block-sensitive. The documentation says we will be enforcing that in
Lucene 10, but it doesn't seem to be the case on main today - do we have an
issue open for making the parent field mandatory? At least I have a bunch of
tests failing with an exception I added to test for this:
> java.lang.IllegalStateException: slicing a segment with blocks and
no parent field
> Note, this is fully optional in Lucene 9.x while will be mandatory for
indices that use document blocks together with index sorting as of 10.0.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: [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]