C# Class Lucene.Net.Codecs.SimpleText.SimpleTextLiveDocsFormat

reads/writes plaintext live docs

FOR RECREATIONAL USE ONLY @lucene.experimental

Inheritance: LiveDocsFormat
ファイルを表示 Open project: apache/lucenenet

Public Methods

Method Description
Files ( Index.SegmentCommitInfo info, ICollection files ) : void
NewLiveDocs ( Util.Bits existing ) : Util.MutableBits
NewLiveDocs ( int size ) : Util.MutableBits
ReadLiveDocs ( Store.Directory dir, Index.SegmentCommitInfo info, Store.IOContext context ) : Util.Bits
WriteLiveDocs ( Util.MutableBits bits, Store.Directory dir, Index.SegmentCommitInfo info, int newDelCount, Store.IOContext context ) : void

Private Methods

Method Description
ParseIntAt ( Util.BytesRef bytes, int offset, Util.CharsRef scratch ) : int

Method Details

Files() public method

public Files ( Index.SegmentCommitInfo info, ICollection files ) : void
info Index.SegmentCommitInfo
files ICollection
return void

NewLiveDocs() public method

public NewLiveDocs ( Util.Bits existing ) : Util.MutableBits
existing Util.Bits
return Util.MutableBits

NewLiveDocs() public method

public NewLiveDocs ( int size ) : Util.MutableBits
size int
return Util.MutableBits

ReadLiveDocs() public method

public ReadLiveDocs ( Store.Directory dir, Index.SegmentCommitInfo info, Store.IOContext context ) : Util.Bits
dir Store.Directory
info Index.SegmentCommitInfo
context Store.IOContext
return Util.Bits

WriteLiveDocs() public method

public WriteLiveDocs ( Util.MutableBits bits, Store.Directory dir, Index.SegmentCommitInfo info, int newDelCount, Store.IOContext context ) : void
bits Util.MutableBits
dir Store.Directory
info Index.SegmentCommitInfo
newDelCount int
context Store.IOContext
return void