C# 클래스 Lucene.Net.Index.SegmentMerger.CheckAbort

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

공개 메소드들

메소드 설명
CheckAbort ( MergePolicy merge, Lucene.Net.Store.Directory dir ) : System
Work ( double units ) : void

Records the fact that roughly units amount of work have been done since this method was last called. When adding time-consuming code into SegmentMerger, you should test different values for units to ensure that the time in between calls to merge.checkAborted is up to ~ 1 second.

메소드 상세

CheckAbort() 공개 메소드

public CheckAbort ( MergePolicy merge, Lucene.Net.Store.Directory dir ) : System
merge MergePolicy
dir Lucene.Net.Store.Directory
리턴 System

Work() 공개 메소드

Records the fact that roughly units amount of work have been done since this method was last called. When adding time-consuming code into SegmentMerger, you should test different values for units to ensure that the time in between calls to merge.checkAborted is up to ~ 1 second.
public Work ( double units ) : void
units double
리턴 void