C# Class Lucene.Net.Index.StandardDirectoryReader

Inheritance: DirectoryReader
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Protected Methods

Method Description
DoClose ( ) : void
DoOpenIfChanged ( ) : DirectoryReader
DoOpenIfChanged ( IndexCommit commit ) : DirectoryReader
DoOpenIfChanged ( IndexWriter writer, bool applyAllDeletes ) : DirectoryReader

Private Methods

Method Description
DoOpenFromCommit ( IndexCommit commit ) : DirectoryReader
DoOpenFromWriter ( IndexCommit commit ) : DirectoryReader
DoOpenIfChanged ( SegmentInfos infos ) : DirectoryReader
DoOpenNoWriter ( IndexCommit commit ) : DirectoryReader
Open ( Directory directory, IndexCommit commit, int termInfosIndexDivisor ) : DirectoryReader

called from DirectoryReader.open(...) methods

Open ( Directory directory, SegmentInfos infos, IList oldReaders, int termInfosIndexDivisor ) : DirectoryReader

this constructor is only used for #doOpenIfChanged(SegmentInfos)

Open ( IndexWriter writer, SegmentInfos infos, bool applyAllDeletes ) : DirectoryReader

Used by near real-time search

StandardDirectoryReader ( Directory directory, AtomicReader readers, IndexWriter writer, SegmentInfos sis, int termInfosIndexDivisor, bool applyAllDeletes ) : System

called only from static open() methods

Method Details

DoClose() protected method

protected DoClose ( ) : void
return void

DoOpenIfChanged() protected method

protected DoOpenIfChanged ( ) : DirectoryReader
return DirectoryReader

DoOpenIfChanged() protected method

protected DoOpenIfChanged ( IndexCommit commit ) : DirectoryReader
commit IndexCommit
return DirectoryReader

DoOpenIfChanged() protected method

protected DoOpenIfChanged ( IndexWriter writer, bool applyAllDeletes ) : DirectoryReader
writer IndexWriter
applyAllDeletes bool
return DirectoryReader

ToString() public method

public ToString ( ) : string
return string