Class PositiveScoresOnlyCollector

  • All Implemented Interfaces:
    Collector

    public class PositiveScoresOnlyCollector
    extends FilterCollector
    A Collector implementation which wraps another Collector and makes sure only documents with scores > 0 are collected.