public abstract class FacetFieldProcessor extends FacetProcessor<FacetField>
FacetField| Modifier and Type | Field and Description |
|---|---|
org.apache.solr.search.facet.FacetFieldProcessor.SpecialSlotAcc |
allBucketsAcc |
SlotAcc |
collectAcc |
int |
effectiveMincount |
countAcc, fcontext| Modifier and Type | Method and Description |
|---|---|
int |
collectFirstPhase(DocSet docs,
int slot) |
void |
collectFirstPhase(int segDoc,
int slot) |
protected void |
createAccs(int docCount,
int slotCount)
This is used to create accs for second phase (or to create accs for all aggs)
|
protected void |
processStats(SimpleOrderedMap<Object> bucket,
DocSet docs,
int docCount) |
protected SimpleOrderedMap<Object> |
refineFacets() |
void |
setNextReaderFirstPhase(AtomicReaderContext ctx) |
createProcessor, getResponse, processpublic int effectiveMincount
public SlotAcc collectAcc
public org.apache.solr.search.facet.FacetFieldProcessor.SpecialSlotAcc allBucketsAcc
protected void createAccs(int docCount,
int slotCount)
throws IOException
createAccs in class FacetProcessor<FacetField>IOExceptionpublic int collectFirstPhase(DocSet docs, int slot) throws IOException
IOExceptionpublic void collectFirstPhase(int segDoc,
int slot)
throws IOException
IOExceptionprotected void processStats(SimpleOrderedMap<Object> bucket, DocSet docs, int docCount) throws IOException
processStats in class FacetProcessor<FacetField>IOExceptionpublic void setNextReaderFirstPhase(AtomicReaderContext ctx) throws IOException
IOExceptionprotected SimpleOrderedMap<Object> refineFacets() throws IOException
IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.