C# Class NuGet.Indexing.NuGetIndexSearcher

Inheritance: Lucene.Net.Search.IndexSearcher
Exibir arquivo Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Public Methods

Method Description
DownloadCounts ( VersionResult versions, string version ) : int>.Tuple
GetOwners ( NuGetIndexSearcher searcher, string id ) : IEnumerable
NuGetIndexSearcher ( NuGetSearcherManager manager, IndexReader reader, string>.IDictionary commitUserData, Filter>.IDictionary curatedFeeds, Filter latest, int[]>.IReadOnlyDictionary docIdMapping, Downloads downloads, VersionResult versions, RankingResult rankings, QueryBoostingContext context, OpenBitSet latestBitSet, OpenBitSet latestStableBitSet, OwnersResult owners ) : System
TotalDownloadCounts ( VersionResult versions ) : int
TryGetFilter ( bool includeUnlisted, bool includePrerelease, string curatedFeed, Filter &filter ) : bool

Method Details

DownloadCounts() public static method

public static DownloadCounts ( VersionResult versions, string version ) : int>.Tuple
versions VersionResult
version string
return int>.Tuple

GetOwners() public static method

public static GetOwners ( NuGetIndexSearcher searcher, string id ) : IEnumerable
searcher NuGetIndexSearcher
id string
return IEnumerable

NuGetIndexSearcher() public method

public NuGetIndexSearcher ( NuGetSearcherManager manager, IndexReader reader, string>.IDictionary commitUserData, Filter>.IDictionary curatedFeeds, Filter latest, int[]>.IReadOnlyDictionary docIdMapping, Downloads downloads, VersionResult versions, RankingResult rankings, QueryBoostingContext context, OpenBitSet latestBitSet, OpenBitSet latestStableBitSet, OwnersResult owners ) : System
manager NuGetSearcherManager
reader Lucene.Net.Index.IndexReader
commitUserData string>.IDictionary
curatedFeeds Filter>.IDictionary
latest Lucene.Net.Search.Filter
docIdMapping int[]>.IReadOnlyDictionary
downloads Downloads
versions VersionResult
rankings RankingResult
context QueryBoostingContext
latestBitSet Lucene.Net.Util.OpenBitSet
latestStableBitSet Lucene.Net.Util.OpenBitSet
owners OwnersResult
return System

TotalDownloadCounts() public static method

public static TotalDownloadCounts ( VersionResult versions ) : int
versions VersionResult
return int

TryGetFilter() public method

public TryGetFilter ( bool includeUnlisted, bool includePrerelease, string curatedFeed, Filter &filter ) : bool
includeUnlisted bool
includePrerelease bool
curatedFeed string
filter Lucene.Net.Search.Filter
return bool