Table of Contents

Public classSealed CountCollector

Namespace
Rowles.LeanLucene.Search.Scoring
Assembly
Rowles.LeanLucene.dll

A simple count-only collector that tracks hit count without storing results. Useful for count queries where actual documents are not needed.

public sealed class CountCollector : ICollector
CountCollector
Implements

Methods

Public method Collect(int, float)

Accepts a matching document with its score.