ICollector
- Namespace
- Rowles.LeanLucene.Search.Scoring
- Assembly
- Rowles.LeanLucene.dll
Abstraction for collecting search results. Implementations can count, aggregate, or collect in custom ways beyond the default TopN scoring.
public interface ICollector
TotalHits
Total number of matching documents seen so far.
Collect(int, float)
Accepts a matching document with its score.