ChrisHegarty commented on code in PR #16418:
URL: https://github.com/apache/lucene/pull/16418#discussion_r3664807755
##########
lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java:
##########
@@ -324,6 +338,43 @@ public boolean getReaderPooling() {
return readerPooling;
}
+ /**
+ * When enabled, a doc-values update that only sets values (no removals) is
written as a sparse
+ * "delta" generation holding just the updated documents and overlaid on the
existing column at
+ * read time, rather than rewriting the whole column. This trades some read
cost for much lower
+ * write amplification on frequently updated fields. Enabled by default;
pass {@code false} to
+ * keep the classic full-column rewrite.
+ *
+ * <p>A commit whose segments carry sparse delta generations is written at a
bumped segments-file
Review Comment:
pedantically. There is already a notion of generations. We could use a
different term to avoid potential confusion with it, e.g. "sparse delta
layers", or some such?
--
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]