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

   Today index sorting with likely break document blocks added with 
`IndexWriter#addDocuments(...)` and friends since the index sorter has no 
indication of what documents are part of a block. This change proposes a marker 
field as a requirement for parent documents if the block API is used in 
conjunction with index sorting. 
   At this point this change requires a `NumericDV` field only present on the 
last document of a block or on every document indexed as an individual document 
iff a parent field is configured on the Sort. This can potentially be extended 
to a `Term` which is not as straight forward since validations might be more 
difficult and today postings are not available when we sort the flushed 
segment. 
   
   
   Relates to #12711


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