What are the performance implications of removing shared doc stores?
I agree we have to test this when this patch is complete. My hope is that we save in other places (removing the interleaving step of the per-thread postings, no wait queue that serializes writing to doc stores) so that overall we won't be slower.
Also, remember that shared doc stores is not as good an opto as it used to be, because we are now able to bulk-copy both stored fields and term vectors during merging.
However, bulk merging only happens if the field name -> number mapping is congruent, b/w the merged segment and the one segment being merged.
Unfortunately, you can easily unexpectedly break this (see
LUCENE-1737) but eg adding diff't fields to your docs, or adding same fields just in a different order.