Package org.apache.solr.search.facet
Class FacetProcessor<T extends FacetRequest>
- java.lang.Object
-
- org.apache.solr.search.facet.FacetProcessor<T>
-
public abstract class FacetProcessor<T extends FacetRequest> extends Object
Base abstraction for a class that computes facets. This is fairly internal to the module.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createAccs(long docCount, int slotCount)
org.apache.solr.common.MapWriter
getResponse()
void
process()
protected void
processStats(org.apache.solr.common.util.SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query bucketQ, DocSet docs, long docCount)
-
-
-
Method Detail
-
getResponse
public org.apache.solr.common.MapWriter getResponse()
-
process
public void process() throws IOException
- Throws:
IOException
-
processStats
protected void processStats(org.apache.solr.common.util.SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query bucketQ, DocSet docs, long docCount) throws IOException
- Throws:
IOException
-
createAccs
protected void createAccs(long docCount, int slotCount) throws IOException
- Throws:
IOException
-
-