## Uses of Interface
org.apache.solr.handler.component.StatsValues

- Packages that use StatsValues
  Package | Description
  --- | ---
  org.apache.solr.handler.component | `SearchComponent` implementations for use in `SearchHandler`
  org.apache.solr.request | APIs and classes for dealing with Solr requests

- - ### Uses of StatsValues in org.apache.solr.handler.component

    Fields in org.apache.solr.handler.component with type parameters of type StatsValues
    Modifier and Type | Field and Description
    --- | ---
    `Map<String,StatsValues>` | FieldFacetStats.`facetStatsValues`

    Methods in org.apache.solr.handler.component that return StatsValues
    Modifier and Type | Method and Description
    --- | ---
    `StatsValues` | StatsField.`computeLocalStatsValues(DocSet base)` Computes the `StatsValues` for this `StatsField` relative to the specified `DocSet`
    `static StatsValues` | StatsValuesFactory.`createStatsValues(StatsField statsField)` Creates an instance of StatsValues which supports values from the specified `StatsField`

    Methods in org.apache.solr.handler.component that return types with arguments of type StatsValues
    Modifier and Type | Method and Description
    --- | ---
    `static Map<String,StatsValues>` | PivotFacetHelper.`mergeStats(Map<String,StatsValues> merged, NamedList<NamedList<NamedList<?>>> remoteWrapper, org.apache.solr.handler.component.StatsInfo statsInfo)` Given a mapping of keys to `StatsValues` representing the currently known "merged" stats (which may be null if none exist yet), and a `NamedList` containing the "stats" response block returned by an individual shard, this method accumulates the stats for each `StatsField` found in the shard response with the existing mergeStats

    Method parameters in org.apache.solr.handler.component with type arguments of type StatsValues
    Modifier and Type | Method and Description
    --- | ---
    `void` | StatsValues.`addFacet(String facetName, Map<String,StatsValues> facetValues)` Adds the facet statistics for the facet with the given name
    `static NamedList<NamedList<NamedList<?>>>` | StatsComponent.`convertToResponse(Map<String,StatsValues> statsValues)` Given a map of `StatsValues` using the appropriate response key, builds up the necessary "stats" data structure for including in the response -- including the esoteric "stats_fields" wrapper.
    `static Map<String,StatsValues>` | PivotFacetHelper.`mergeStats(Map<String,StatsValues> merged, NamedList<NamedList<NamedList<?>>> remoteWrapper, org.apache.solr.handler.component.StatsInfo statsInfo)` Given a mapping of keys to `StatsValues` representing the currently known "merged" stats (which may be null if none exist yet), and a `NamedList` containing the "stats" response block returned by an individual shard, this method accumulates the stats for each `StatsField` found in the shard response with the existing mergeStats

  - ### Uses of StatsValues in org.apache.solr.request

    Methods in org.apache.solr.request that return StatsValues
    Modifier and Type | Method and Description
    --- | ---
    `static StatsValues` | DocValuesStats.`getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.