Package org.apache.solr.search.stats


package org.apache.solr.search.stats
APIs and Classes implementing the Stats component used for document frequency calculations.
  • Classes
    Class
    Description
    Modifiable version of CollectionStatistics useful for aggregation of per-shard stats.
    This class implements exact caching of statistics.
    This class implements exact caching of statistics.
     
    Default implementation that simply ignores global term statistics, and always uses local term statistics.
    Convenience class that wraps a local SolrIndexSearcher to provide local statistics.
    Unlike ExactStatsCache this implementation preserves term stats across queries in a set of LRU caches (with the same life-cycle as SolrIndexSearcher), and based on surface features of a query it determines the need to send additional requests to retrieve local term and collection statistics from shards.
    This class represents a cache of global document frequency information for selected terms.
     
    The purpose of this class is only to provide two pieces of information necessary to create Weight from a Query, that is TermStatistics for a term and CollectionStatistics for the whole collection.
    Various utilities for de/serialization of term stats and collection stats.
    Modifiable version of TermStatistics useful for aggregation of per-shard stats.