C# 클래스 Lucene.Net.Index.IndexWriter.IndexReaderWarmer

If DirectoryReader#open(IndexWriter,boolean) 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. @lucene.experimental

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

파일 보기 프로젝트 열기: synhershko/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
Warm ( IndexReader reader ) : void

메소드 상세

Warm() 공개 추상적인 메소드

public abstract Warm ( IndexReader reader ) : void
reader IndexReader
리턴 void