Class FilterScorable

java.lang.Object
org.apache.lucene.search.Scorable
org.apache.lucene.search.FilterScorable

public class FilterScorable extends Scorable
Filter a Scorable, intercepting methods and optionally changing their return values

The default implementation simply passes all calls to its delegate, with the exception of Scorable.setMinCompetitiveScore(float) which defaults to a no-op.

  • Field Details

  • Constructor Details

    • FilterScorable

      public FilterScorable(Scorable in)
      Filter a scorer
      Parameters:
      in - the scorer to filter
  • Method Details