kkewwei opened a new issue, #16045:
URL: https://github.com/apache/lucene/issues/16045

   ### Description
   
   For StoredField merging, the merge strategy has to switch from the `BULK` 
mode to the `DOC` mode even if only a document is deleted, which significantly 
increases merging overhead.
   
   StoredField is compressed at the chunk granularity I propose introducing a 
new merge strategy:
   
   - For the chunk with no deleted documents, retain `copyChunk `during merging;
   
   - For the chunk containing deleted documents, fall back to `copyOneDoc`.
   
   Furthermore, we can leverage the segment deletion ratio (e.g., a threshold 
below 5%) as a condition to enable or disable this optimized merging logic.


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

Reply via email to