Class SimpleMergedSegmentWarmer


  • public class SimpleMergedSegmentWarmer
    extends IndexWriter.IndexReaderWarmer
    A very simple merged segment warmer that just ensures data structures are initialized.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleMergedSegmentWarmer

        public SimpleMergedSegmentWarmer​(InfoStream infoStream)
        Creates a new SimpleMergedSegmentWarmer
        Parameters:
        infoStream - InfoStream to log statistics about warming.