Class SimpleMergedSegmentWarmer
A very simple merged segment warmer that just ensures data structures are initialized.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class SimpleMergedSegmentWarmer : IndexWriter.IndexReaderWarmer
Constructors
SimpleMergedSegmentWarmer(InfoStream)
Creates a new SimpleMergedSegmentWarmer
Declaration
public SimpleMergedSegmentWarmer(InfoStream infoStream)
Parameters
Type | Name | Description |
---|---|---|
InfoStream | infoStream | InfoStream to log statistics about warming. |
Methods
Warm(AtomicReader)
Invoked on the AtomicReader for the newly merged segment, before that segment is made visible to near-real-time readers.
Declaration
public override void Warm(AtomicReader reader)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader |