jpountz commented on PR #11995:
URL: https://github.com/apache/lucene/pull/11995#issuecomment-1339962667

   Thanks for the explanation of what this PR does. I'm not comfortable with 
the fact that with your change, stored fields are no longer stored in doc ID 
order. It's probably a good trade-off in your case and maybe something you can 
do in a custom codec, but I don't like doing it in the default codec as it 
would also mean that users can no longer leverage index sorting to improve data 
locality within stored fields, and that feeding this stored fields reader into 
another writer for a merge would trigger lots of random access.
   
   While it certainly wouldn't result in speedup that is as good, I'll point 
out that using a merge policy that only merges adjacent segments like 
LogByteMergePolicy should help better take advantage of 
https://github.com/apache/lucene/pull/134 and get slightly better merging 
performance when an index sort on timestamp is configured.


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