C# Class bsharptree.example.simpleindex.IndexWriter

Inheritance: IDisposable
Mostra file Open project: thoward/bsharptree Class Usage Examples

Public Methods

Method Description
AddDocument ( Document document, IAnalyzer analyzer ) : void
Dispose ( ) : void
IndexWriter ( ) : System
IndexWriter ( Stream termIndexStream, Stream termRecordStream, Stream documentIndexStream, Stream documentRecordStream, bool shouldDisposeStreams = false ) : System
IndexWriter ( TermStorage termStorage, DocumentStorage documentStorage ) : System
IndexWriter ( string directory ) : System
IndexWriter ( string termIndexFilename, string termRecordFilename, string documentIndexFilename, string documentRecordFilename ) : System

Private Methods

Method Description
FlushIndexes ( ) : void
MergeSubIndexes ( ) : void

Method Details

AddDocument() public method

public AddDocument ( Document document, IAnalyzer analyzer ) : void
document Document
analyzer IAnalyzer
return void

Dispose() public method

public Dispose ( ) : void
return void

IndexWriter() public method

public IndexWriter ( ) : System
return System

IndexWriter() public method

public IndexWriter ( Stream termIndexStream, Stream termRecordStream, Stream documentIndexStream, Stream documentRecordStream, bool shouldDisposeStreams = false ) : System
termIndexStream Stream
termRecordStream Stream
documentIndexStream Stream
documentRecordStream Stream
shouldDisposeStreams bool
return System

IndexWriter() public method

public IndexWriter ( TermStorage termStorage, DocumentStorage documentStorage ) : System
termStorage TermStorage
documentStorage DocumentStorage
return System

IndexWriter() public method

public IndexWriter ( string directory ) : System
directory string
return System

IndexWriter() public method

public IndexWriter ( string termIndexFilename, string termRecordFilename, string documentIndexFilename, string documentRecordFilename ) : System
termIndexFilename string
termRecordFilename string
documentIndexFilename string
documentRecordFilename string
return System