C# Class NuGet.Indexing.LatestVersionFilterFactory

Mostra file Open project: NuGet/NuGet.Services.Metadata

Public Methods

Method Description
Create ( IndexReader indexReader, bool includePrerelease, bool includeUnlisted ) : Filter

Private Methods

Method Description
GetId ( Lucene.Net.Documents.Document document ) : string
GetListed ( Lucene.Net.Documents.Document document ) : bool
GetVersion ( Lucene.Net.Documents.Document document ) : NuGet.Versioning.NuGetVersion
MakeLatestVersionLookup ( IndexReader indexReader, bool includePrerelease, bool includeUnlisted ) : IDictionary>
MakeLatestVersionLookupPerReader ( IDictionary lookup, IndexReader reader, string readerName, bool includePrerelease, bool includeUnlisted ) : void

Method Details

Create() public static method

public static Create ( IndexReader indexReader, bool includePrerelease, bool includeUnlisted ) : Filter
indexReader Lucene.Net.Index.IndexReader
includePrerelease bool
includeUnlisted bool
return Lucene.Net.Search.Filter