public class PivotFacetProcessor extends SimpleFacets
SimpleFacets.CountPair<K extends Comparable<? super K>,V extends Comparable<? super V>>| Modifier and Type | Field and Description |
|---|---|
protected SolrParams |
params |
docs, docsOrig, facetResponse, facetValue, key, localParams, orig, rb, req, required, searcher, threads| Constructor and Description |
|---|
PivotFacetProcessor(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
| Modifier and Type | Method and Description |
|---|---|
protected List<NamedList<Object>> |
doPivots(NamedList<Integer> superFacets,
String field,
String subField,
Deque<String> fnames,
Deque<String> vnames,
DocSet docs)
Recursive function to compute all the pivot counts for the values under teh specified field
|
SimpleOrderedMap<List<NamedList<Object>>> |
process(String[] pivots)
Processes all of the specified
FacetParams.FACET_PIVOT strings, generating
a completel response tree for each pivot. |
getFacetCounts, getFacetDateCounts, getFacetDateCounts, getFacetFieldCounts, getFacetIntervalCounts, getFacetQueryCounts, getFacetRangeCounts, getFacetTermEnumCounts, getFieldCacheCounts, getFieldMissingCount, getGroupedCounts, getGroupedFacetQueryCount, getListedTermCounts, getTermCounts, getTermCounts, getTermCountsForPivots, parseParams, rangeCount, rangeCountprotected SolrParams params
public PivotFacetProcessor(SolrQueryRequest req, DocSet docs, SolrParams params, ResponseBuilder rb)
public SimpleOrderedMap<List<NamedList<Object>>> process(String[] pivots) throws IOException
FacetParams.FACET_PIVOT strings, generating
a completel response tree for each pivot. The values in this response will either
be the complete tree of fields and values for the specified pivot in the local index,
or the requested refinements if the pivot params include the PivotFacet.REFINE_PARAMIOExceptionprotected List<NamedList<Object>> doPivots(NamedList<Integer> superFacets, String field, String subField, Deque<String> fnames, Deque<String> vnames, DocSet docs) throws IOException
IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.