Class FileStreamResponseWriter

java.lang.Object
org.apache.solr.response.FileStreamResponseWriter
All Implemented Interfaces:
QueryResponseWriter, NamedListInitializedPlugin

public class FileStreamResponseWriter extends Object implements QueryResponseWriter
Response writer for file streaming operations, used for replication, exports, and other core Solr operations.

This writer handles streaming of large files (such as index files) by looking for a SolrCore.RawWriter object in the response under the ReplicationAPIBase.FILE_STREAM key. When found, it delegates directly to the raw writer to stream the file content efficiently.

This writer is specifically designed for replication file transfers and provides no fallback behavior - it only works when a proper RawWriter is present in the response.