Class ExactSharedStatsCache

  • All Implemented Interfaces:
    PluginInfoInitialized

    public class ExactSharedStatsCache
    extends ExactStatsCache
    This class implements exact caching of statistics. It requires an additional round-trip to parse query at shard servers, and return term statistics for query terms (and collection statistics for term fields).

    Global statistics are accumulated in the instance of this component (with the same life-cycle as SolrSearcher), in unbounded maps. NOTE: This may lead to excessive memory usage, in which case a LRUStatsCache should be considered.