Apache Lucene.Net 2.4.0 Class Library API

Scorer.Score Method (HitCollector, Int32)

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 hc,
   int max
);

Parameters

hc
The collector to which all matching documents are passed through {@link HitCollector#Collect(int, float)}.
max
Do not score documents past this.

Return Value

true if more matching documents may remain.

See Also

Scorer Class | Lucene.Net.Search Namespace | Scorer.Score Overload List