Table of Contents

Public interface 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

Public property TotalHits

Total number of matching documents seen so far.

Public method Collect(int, float)

Accepts a matching document with its score.