Apache Lucene.Net 2.4.0 Class Library API

Scorer.Score Method

Returns the score of the current document matching the query. Initially invalid, until {@link #Next()} or {@link #SkipTo(int)} is called the first time.

Overload List

Returns the score of the current document matching the query. Initially invalid, until {@link #Next()} or {@link #SkipTo(int)} is called the first time.

public abstract float Score();

 

public virtual void Score(HitCollector);

Expert: Collects matching documents in a range. Hook for optimization. Note that {@link #Next()} must be called once before this method is called for the first time.

protected internal virtual bool Score(HitCollector,int);

See Also

Scorer Class | Lucene.Net.Search Namespace