Class LuceneSyntheticSourceChangesSnapshot

java.lang.Object
org.elasticsearch.index.engine.SearchBasedChangesSnapshot
org.elasticsearch.index.engine.LuceneSyntheticSourceChangesSnapshot
All Implemented Interfaces:
Closeable, AutoCloseable, Translog.Snapshot

public class LuceneSyntheticSourceChangesSnapshot extends SearchBasedChangesSnapshot
A SearchBasedChangesSnapshot that utilizes a synthetic field loader to rebuild the recovery source. This snapshot is activated when IndexSettings.RECOVERY_USE_SYNTHETIC_SOURCE_SETTING is enabled on the underlying index. The maxMemorySizeInBytes parameter limits the total size of uncompressed _sources loaded into memory during batch retrieval.