C# 클래스 NuGet.Indexing.DownloadsScoreProvider

상속: Lucene.Net.Search.Function.CustomScoreProvider
파일 보기 프로젝트 열기: NuGet/NuGet.Services.Metadata

공개 메소드들

메소드 설명
CustomScore ( int docId, float subQueryScore, float valSrcScore ) : float
DownloadScore ( long totalDownloads, QueryBoostingContext context ) : float
DownloadsScoreProvider ( IndexReader reader, int[]>.IReadOnlyDictionary idMapping, Downloads downloads, RankingResult ranking, QueryBoostingContext context, double baseBoost ) : System

비공개 메소드들

메소드 설명
AdjustByDownloads ( int docId ) : float
RankingScore ( string readerName, RankingResult rankings, int doc, double baseBoost ) : float

메소드 상세

CustomScore() 공개 메소드

public CustomScore ( int docId, float subQueryScore, float valSrcScore ) : float
docId int
subQueryScore float
valSrcScore float
리턴 float

DownloadScore() 공개 정적인 메소드

public static DownloadScore ( long totalDownloads, QueryBoostingContext context ) : float
totalDownloads long
context QueryBoostingContext
리턴 float

DownloadsScoreProvider() 공개 메소드

public DownloadsScoreProvider ( IndexReader reader, int[]>.IReadOnlyDictionary idMapping, Downloads downloads, RankingResult ranking, QueryBoostingContext context, double baseBoost ) : System
reader Lucene.Net.Index.IndexReader
idMapping int[]>.IReadOnlyDictionary
downloads Downloads
ranking RankingResult
context QueryBoostingContext
baseBoost double
리턴 System