C# 클래스 Lucene.Net.Index.ReadersAndUpdates

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

공개 프로퍼티들

프로퍼티 타입 설명
Info Lucene.Net.Index.SegmentCommitInfo

공개 메소드들

메소드 설명
DecRef ( ) : void
Delete ( int docID ) : bool
DropChanges ( ) : void
DropMergingUpdates ( ) : void

Drops all merging updates. Called from IndexWriter after this segment finished merging (whether successfully or not).

DropReaders ( ) : void
GetMergeReader ( IOContext context ) : Lucene.Net.Index.SegmentReader
GetReadOnlyClone ( IOContext context ) : Lucene.Net.Index.SegmentReader

Returns a ref to a clone. NOTE: you should decRef() the reader when you're dont (ie do not call close()).

GetReader ( IOContext context ) : Lucene.Net.Index.SegmentReader

Returns a SegmentReader.

IncRef ( ) : void
InitWritableLiveDocs ( ) : void
ReadersAndUpdates ( IndexWriter writer, Lucene.Net.Index.SegmentCommitInfo info ) : System
RefCount ( ) : int
Release ( Lucene.Net.Index.SegmentReader sr ) : void
ToString ( ) : string
VerifyDocCounts ( ) : bool
WriteFieldUpdates ( Directory dir, Lucene.Net.Index.DocValuesFieldUpdates dvUpdates ) : void
WriteLiveDocs ( Directory dir ) : bool

비공개 메소드들

메소드 설명
GetBytesRefEnumerable ( Lucene.Net.Index.SegmentReader reader, string field, Lucene.Net.Index.BinaryDocValuesFieldUpdates fieldUpdates ) : IEnumerable
GetLongEnumerable ( Lucene.Net.Index.SegmentReader reader, string field, Lucene.Net.Index.NumericDocValuesFieldUpdates fieldUpdates ) : IEnumerable
GetReaderForMerge ( IOContext context ) : Lucene.Net.Index.SegmentReader

Returns a reader for merge. this method applies field updates if there are any and marks that this segment is currently merging.

메소드 상세

DecRef() 공개 메소드

public DecRef ( ) : void
리턴 void

Delete() 공개 메소드

public Delete ( int docID ) : bool
docID int
리턴 bool

DropChanges() 공개 메소드

public DropChanges ( ) : void
리턴 void

DropMergingUpdates() 공개 메소드

Drops all merging updates. Called from IndexWriter after this segment finished merging (whether successfully or not).
public DropMergingUpdates ( ) : void
리턴 void

DropReaders() 공개 메소드

public DropReaders ( ) : void
리턴 void

GetMergeReader() 공개 메소드

public GetMergeReader ( IOContext context ) : Lucene.Net.Index.SegmentReader
context IOContext
리턴 Lucene.Net.Index.SegmentReader

GetReadOnlyClone() 공개 메소드

Returns a ref to a clone. NOTE: you should decRef() the reader when you're dont (ie do not call close()).
public GetReadOnlyClone ( IOContext context ) : Lucene.Net.Index.SegmentReader
context IOContext
리턴 Lucene.Net.Index.SegmentReader

GetReader() 공개 메소드

Returns a SegmentReader.
public GetReader ( IOContext context ) : Lucene.Net.Index.SegmentReader
context IOContext
리턴 Lucene.Net.Index.SegmentReader

IncRef() 공개 메소드

public IncRef ( ) : void
리턴 void

InitWritableLiveDocs() 공개 메소드

public InitWritableLiveDocs ( ) : void
리턴 void

ReadersAndUpdates() 공개 메소드

public ReadersAndUpdates ( IndexWriter writer, Lucene.Net.Index.SegmentCommitInfo info ) : System
writer IndexWriter
info Lucene.Net.Index.SegmentCommitInfo
리턴 System

RefCount() 공개 메소드

public RefCount ( ) : int
리턴 int

Release() 공개 메소드

public Release ( Lucene.Net.Index.SegmentReader sr ) : void
sr Lucene.Net.Index.SegmentReader
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

VerifyDocCounts() 공개 메소드

public VerifyDocCounts ( ) : bool
리턴 bool

WriteFieldUpdates() 공개 메소드

public WriteFieldUpdates ( Directory dir, Lucene.Net.Index.DocValuesFieldUpdates dvUpdates ) : void
dir Directory
dvUpdates Lucene.Net.Index.DocValuesFieldUpdates
리턴 void

WriteLiveDocs() 공개 메소드

public WriteLiveDocs ( Directory dir ) : bool
dir Directory
리턴 bool

프로퍼티 상세

Info 공개적으로 프로퍼티

public SegmentCommitInfo,Lucene.Net.Index Info
리턴 Lucene.Net.Index.SegmentCommitInfo