C# Class Lucene.Net.Search.ConstantScoreQuery.ConstantWeight

Inheritance: Weight
ファイルを表示 Open project: synhershko/lucene.net

Public Methods

Method Description
ConstantWeight ( ConstantScoreQuery enclosingInstance, Searcher searcher ) : System
Explain ( IndexReader reader, int doc ) : Explanation
GetSumOfSquaredWeights ( ) : float
Normalize ( float norm ) : void
Scorer ( IndexReader reader, bool scoreDocsInOrder, bool topScorer ) : Lucene.Net.Search.Scorer

Private Methods

Method Description
InitBlock ( ConstantScoreQuery enclosingInstance ) : void

Method Details

ConstantWeight() public method

public ConstantWeight ( ConstantScoreQuery enclosingInstance, Searcher searcher ) : System
enclosingInstance ConstantScoreQuery
searcher Searcher
return System

Explain() public method

public Explain ( IndexReader reader, int doc ) : Explanation
reader Lucene.Net.Index.IndexReader
doc int
return Explanation

GetSumOfSquaredWeights() public method

public GetSumOfSquaredWeights ( ) : float
return float

Normalize() public method

public Normalize ( float norm ) : void
norm float
return void

Scorer() public method

public Scorer ( IndexReader reader, bool scoreDocsInOrder, bool topScorer ) : Lucene.Net.Search.Scorer
reader Lucene.Net.Index.IndexReader
scoreDocsInOrder bool
topScorer bool
return Lucene.Net.Search.Scorer