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
|
Modifier and Type | Class and Description |
---|---|
class |
SortedDateStatsValues |
class |
SortedNumericStatsValues |
Modifier and Type | Field and Description |
---|---|
Map<String,StatsValues> |
FieldFacetStats.facetStatsValues |
Modifier and Type | Method and Description |
---|---|
StatsValues |
StatsField.computeLocalStatsValues(DocSet base)
|
static StatsValues |
StatsValuesFactory.createStatsValues(StatsField statsField)
Creates an instance of StatsValues which supports values from the specified
StatsField |
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 |
Modifier and Type | Method and Description |
---|---|
void |
SortedDateStatsValues.addFacet(String facetName,
Map<String,StatsValues> facetValues) |
void |
StatsValues.addFacet(String facetName,
Map<String,StatsValues> facetValues)
Adds the facet statistics for the facet with the given name
|
void |
SortedNumericStatsValues.addFacet(String facetName,
Map<String,StatsValues> facetValues) |
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 |
Modifier and Type | Method and Description |
---|---|
static StatsValues |
DocValuesStats.getCounts(SolrIndexSearcher searcher,
StatsField statsField,
DocSet docs,
String[] facet) |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.