Interface Limiter

All Known Implementing Classes:
ConfigurableShareLimiter, CutOffLimiter, GroupedCutOffLimiter

public interface Limiter

A Limiter is used for results that have different kind of suggestions, for example if several different data sources are used at different suggesters, as it's done at the CompoundQuerySuggester.

It could also be used to retrieve more suggestions, group or sort them by a certain criterion and limit them afterwards.

  • Method Summary

    Modifier and Type
    Method
    Description
    limit(List<Suggestion> suggestions, int limit)