Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | List of all members
Lucene.Net.Index.IndexWriter.IndexReaderWarmer Class Referenceabstract

If 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. More...

Public Member Functions

abstract void Warm (IndexReader reader)
 

Detailed Description

If 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.

Definition at line 5849 of file IndexWriter.cs.

Member Function Documentation

abstract void Lucene.Net.Index.IndexWriter.IndexReaderWarmer.Warm ( IndexReader  reader)
pure virtual

The documentation for this class was generated from the following file: