Package org.apache.solr.search.facet
Class FacetProcessor<FacetRequestT extends FacetRequest>
- java.lang.Object
-
- org.apache.solr.search.facet.FacetProcessor<FacetRequestT>
-
public abstract class FacetProcessor<FacetRequestT 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(int docCount, int slotCount)
MapWriter
getResponse()
void
process()
protected void
processStats(SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query bucketQ, DocSet docs, int docCount)
-
-
-
Method Detail
-
getResponse
public MapWriter getResponse()
-
process
public void process() throws IOException
- Throws:
IOException
-
processStats
protected void processStats(SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query bucketQ, DocSet docs, int docCount) throws IOException
- Throws:
IOException
-
createAccs
protected void createAccs(int docCount, int slotCount) throws IOException
- Throws:
IOException
-
-