C# Class NuGet.Indexing.IndexReaderProcessor

Exibir arquivo Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Public Methods

Method Description
AddHandler ( IIndexReaderProcessorHandler handler ) : void
IndexReaderProcessor ( bool enumerateSubReaders ) : Lucene.Net.Documents
Process ( IndexReader indexReader ) : void

Private Methods

Method Description
GetId ( Lucene.Net.Documents.Document document ) : string
GetVersion ( Lucene.Net.Documents.Document document ) : NuGet.Versioning.NuGetVersion
ProcessDocument ( IndexReader indexReader, string readerName, int perReaderDocumentNumber, int perIndexDocumentNumber, Lucene.Net.Documents.Document document, bool isDelete ) : void
ProcessReader ( IndexReader indexReader, string readerName, int &perIndexDocumentNumber ) : void

Method Details

AddHandler() public method

public AddHandler ( IIndexReaderProcessorHandler handler ) : void
handler IIndexReaderProcessorHandler
return void

IndexReaderProcessor() public method

public IndexReaderProcessor ( bool enumerateSubReaders ) : Lucene.Net.Documents
enumerateSubReaders bool
return Lucene.Net.Documents

Process() public method

public Process ( IndexReader indexReader ) : void
indexReader Lucene.Net.Index.IndexReader
return void