public class SimpleMergedSegmentWarmer extends IndexWriter.IndexReaderWarmer
Constructor and Description |
---|
SimpleMergedSegmentWarmer(InfoStream infoStream)
Creates a new SimpleMergedSegmentWarmer
|
Modifier and Type | Method and Description |
---|---|
void |
warm(AtomicReader reader)
Invoked on the
AtomicReader for the newly
merged segment, before that segment is made visible
to near-real-time readers. |
public SimpleMergedSegmentWarmer(InfoStream infoStream)
infoStream
- InfoStream to log statistics about warming.public void warm(AtomicReader reader) throws IOException
IndexWriter.IndexReaderWarmer
AtomicReader
for the newly
merged segment, before that segment is made visible
to near-real-time readers.warm
in class IndexWriter.IndexReaderWarmer
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.