public class RangeFacetProcessor extends SimpleFacets
SimpleFacets.CountPair<K extends Comparable<? super K>,V extends Comparable<? super V>>, SimpleFacets.ParsedParams
docsOrig, fdebug, fdebugParent, global, rb, req, searcher
Constructor and Description |
---|
RangeFacetProcessor(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
Modifier and Type | Method and Description |
---|---|
NamedList<Object> |
getFacetRangeCounts()
Returns a list of value constraints and the associated facet
counts for each facet numerical field, range, and interval
specified in the SolrParams
|
void |
getFacetRangeCounts(RangeFacetRequest rangeFacetRequest,
NamedList<Object> resOuter)
Returns a list of value constraints and the associated facet counts
for each facet range specified by the given
RangeFacetRequest |
protected int |
rangeCount(DocSet subset,
RangeFacetRequest rfr,
RangeFacetRequest.FacetRange fr)
Macro for getting the numDocs of range over docs
|
checkMincountOnExists, computeDocSet, getDocsOrig, getFacetFieldCounts, getFacetIntervalCounts, getFacetQueryCount, getFacetQueryCounts, getFacetTermEnumCounts, getFacetTermEnumCounts, getFieldMissingCount, getGlobalParams, getGroupedCounts, getGroupedFacetQueryCount, getHeatmapCounts, getListedTermCounts, getRequest, getResponseBuilder, getTermCounts, getTermCountsForPivots, newBytesRefFilter, newExcludeBytesRefFilter, parseParams, setFacetDebugInfo
public RangeFacetProcessor(SolrQueryRequest req, DocSet docs, SolrParams params, ResponseBuilder rb)
public NamedList<Object> getFacetRangeCounts() throws IOException, SyntaxError
IOException
SyntaxError
FacetParams.FACET_RANGE
public void getFacetRangeCounts(RangeFacetRequest rangeFacetRequest, NamedList<Object> resOuter) throws IOException, SyntaxError
RangeFacetRequest
IOException
SyntaxError
protected int rangeCount(DocSet subset, RangeFacetRequest rfr, RangeFacetRequest.FacetRange fr) throws IOException, SyntaxError
IOException
SyntaxError
SolrIndexSearcher.numDocs()
,
TermRangeQuery
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.