C# Класс Lucene.Net.Search.ReqOptSumScorer

A Scorer for queries with a required part and an optional part. Delays skipTo() on the optional part until a score() is needed.
this Scorer implements Scorer#advance(int).
Наследование: Lucene.Net.Search.Scorer
Показать файл Открыть проект

Открытые методы

Метод Описание
Advance ( int target ) : int
DocID ( ) : int
NextDoc ( ) : int
ReqOptSumScorer ( Lucene.Net.Search.Scorer reqScorer, Lucene.Net.Search.Scorer optScorer ) : System

Construct a ReqOptScorer.

Score ( ) : float

Returns the score of the current document matching the query. Initially invalid, until Next() is called the first time.

Описание методов

Advance() публичный Метод

public Advance ( int target ) : int
target int
Результат int

DocID() публичный Метод

public DocID ( ) : int
Результат int

NextDoc() публичный Метод

public NextDoc ( ) : int
Результат int

ReqOptSumScorer() публичный Метод

Construct a ReqOptScorer.
public ReqOptSumScorer ( Lucene.Net.Search.Scorer reqScorer, Lucene.Net.Search.Scorer optScorer ) : System
reqScorer Lucene.Net.Search.Scorer The required scorer. This must match. ///
optScorer Lucene.Net.Search.Scorer The optional scorer. This is used for scoring only. ///
Результат System

Score() публичный Метод

Returns the score of the current document matching the query. Initially invalid, until Next() is called the first time.
public Score ( ) : float
Результат float