Package org.apache.solr.search.facet
Class FacetProcessor<T extends FacetRequest>
java.lang.Object
org.apache.solr.search.facet.FacetProcessor<T>
Base abstraction for a class that computes facets. This is fairly internal to the module.
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateAccs(long docCount, int slotCount) org.apache.solr.common.MapWritervoidprocess()protected voidprocessStats(org.apache.solr.common.util.SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query bucketQ, DocSet docs, long docCount)
-
Method Details
-
getResponse
public org.apache.solr.common.MapWriter getResponse() -
process
- 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
- Throws:
IOException
-