Class Sampler

  • Direct Known Subclasses:
    RandomSampler, RepeatableSampler

    public abstract class Sampler
    extends Object
    Sampling definition for facets accumulation

    The Sampler uses TAKMI style counting to provide a 'best guess' top-K result set of the facets accumulated.

    Note: Sampling accumulation (Accumulation over a sampled-set of the results), does not guarantee accurate values for FacetResult.getNumValidDescendants() & FacetResultNode.getResidue().

    WARNING: This API is experimental and might change in incompatible ways in the next release.