C# 클래스 Lucene.Net.Search.DisjunctionMaxScorer

The Scorer for DisjunctionMaxQuery's. The union of all documents generated by the the subquery scorers is generated in document number order. The score for each document is the maximum of the scores computed by the subquery scorers that generate that document, plus tieBreakerMultiplier times the sum of the scores for the other subqueries that generate the document.
상속: Lucene.Net.Search.Scorer
파일 보기 프로젝트 열기: synhershko/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
Advance ( int target ) : int
DisjunctionMaxScorer ( float tieBreakerMultiplier, Similarity similarity, Lucene.Net.Search.Scorer subScorers, int numScorers ) : System

Creates a new instance of DisjunctionMaxScorer

DocID ( ) : int
NextDoc ( ) : int
Score ( ) : float

Determine the current document score. Initially invalid, until Next() is called the first time.

비공개 메소드들

메소드 설명
HeapAdjust ( int root ) : void
HeapRemoveRoot ( ) : void
Heapify ( ) : void
ScoreAll ( int root, int size, int doc, float sum, float max ) : void

메소드 상세

Advance() 공개 메소드

public Advance ( int target ) : int
target int
리턴 int

DisjunctionMaxScorer() 공개 메소드

Creates a new instance of DisjunctionMaxScorer
public DisjunctionMaxScorer ( float tieBreakerMultiplier, Similarity similarity, Lucene.Net.Search.Scorer subScorers, int numScorers ) : System
tieBreakerMultiplier float Multiplier applied to non-maximum-scoring subqueries for a /// document as they are summed into the result. ///
similarity Similarity -- not used since our definition involves neither coord nor terms /// directly ///
subScorers Lucene.Net.Search.Scorer The sub scorers this Scorer should iterate on ///
numScorers int The actual number of scorers to iterate on. Note that the array's /// length may be larger than the actual number of scorers. ///
리턴 System

DocID() 공개 메소드

public DocID ( ) : int
리턴 int

NextDoc() 공개 메소드

public NextDoc ( ) : int
리턴 int

Score() 공개 메소드

Determine the current document score. Initially invalid, until Next() is called the first time.
public Score ( ) : float
리턴 float