C# Class NuGet.Indexing.DownloadsBoostedQuery

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

Public Methods

Method Description
DownloadsBoostedQuery ( Query query, int[]>.IReadOnlyDictionary docIdMapping, Downloads downloads, RankingResult ranking, QueryBoostingContext context, double baseBoost = BaseBoostConstant ) : System.Collections.Generic
ToString ( ) : string

Protected Methods

Method Description
GetCustomScoreProvider ( IndexReader reader ) : Lucene.Net.Search.Function.CustomScoreProvider

Method Details

DownloadsBoostedQuery() public method

public DownloadsBoostedQuery ( Query query, int[]>.IReadOnlyDictionary docIdMapping, Downloads downloads, RankingResult ranking, QueryBoostingContext context, double baseBoost = BaseBoostConstant ) : System.Collections.Generic
query Lucene.Net.Search.Query
docIdMapping int[]>.IReadOnlyDictionary
downloads Downloads
ranking RankingResult
context QueryBoostingContext
baseBoost double
return System.Collections.Generic

GetCustomScoreProvider() protected method

protected GetCustomScoreProvider ( IndexReader reader ) : Lucene.Net.Search.Function.CustomScoreProvider
reader Lucene.Net.Index.IndexReader
return Lucene.Net.Search.Function.CustomScoreProvider

ToString() public method

public ToString ( ) : string
return string