ChrisHegarty commented on PR #16418:
URL: https://github.com/apache/lucene/pull/16418#issuecomment-5103105025

   One thought for the future: the feature is all-or-nothing across the index 
today. In practice some fields are read-heavy (sorting, aggregations) and would 
benefit from a flat dense column, while others are write-heavy and would prefer 
cheap sparse deltas. A per-field policy could be a nice follow-up. The plumbing 
already knows which field is being updated, so it should be straightforward to 
add later. Something like:
   
   ```
   IndexWriterConfig.setMaxDocValuesDeltaGenerations("score", 16);   // sparse 
deltas for this field
   IndexWriterConfig.setMaxDocValuesDeltaGenerations("timestamp", 0); // dense 
rewrite for this field
   ```


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