If {@link #getReader} has been called (ie, this writer is in near real-time mode), then after a merge completes, this class can be invoked to warm the reader on the newly merged segment, before the merge commits. This is not required for near real-time search, but will reduce search latency on opening a new near real-time reader after a merge completes.

NOTE: This API is experimental and might change in incompatible ways in the next release.

NOTE: warm is called before any deletes have been carried over to the merged segment.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract class IndexReaderWarmer
Visual Basic
Public MustInherit Class IndexReaderWarmer
Visual C++
public ref class IndexReaderWarmer abstract

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Index..::..IndexWriter..::..IndexReaderWarmer

See Also