public class FacetProcessor<FacetRequestT extends FacetRequest> extends Object
Modifier and Type | Field and Description |
---|---|
protected SlotAcc[] |
accs |
protected org.apache.solr.search.facet.CountSlotAcc |
countAcc |
protected org.apache.solr.search.facet.FacetContext |
fcontext |
protected FacetRequestT |
freq |
protected SimpleOrderedMap<Object> |
response |
Modifier and Type | Method and Description |
---|---|
protected void |
createAccs(int docCount,
int slotCount) |
void |
fillBucket(SimpleOrderedMap<Object> bucket,
Query q,
DocSet result) |
static DocSet |
getFieldMissing(SolrIndexSearcher searcher,
DocSet docs,
String fieldName) |
static Query |
getFieldMissingQuery(SolrIndexSearcher searcher,
String fieldName) |
Object |
getResponse() |
protected void |
handleDomainChanges() |
void |
process() |
protected void |
processStats(SimpleOrderedMap<Object> bucket,
DocSet docs,
int docCount) |
protected void |
processSubs(SimpleOrderedMap<Object> response,
Query filter,
DocSet domain) |
protected void |
resetStats() |
protected SimpleOrderedMap<Object> response
protected org.apache.solr.search.facet.FacetContext fcontext
protected FacetRequestT extends FacetRequest freq
protected SlotAcc[] accs
protected org.apache.solr.search.facet.CountSlotAcc countAcc
public void process() throws IOException
IOException
protected void handleDomainChanges() throws IOException
IOException
public Object getResponse()
protected void createAccs(int docCount, int slotCount) throws IOException
IOException
protected void resetStats()
protected void processStats(SimpleOrderedMap<Object> bucket, DocSet docs, int docCount) throws IOException
IOException
protected void processSubs(SimpleOrderedMap<Object> response, Query filter, DocSet domain) throws IOException
IOException
public void fillBucket(SimpleOrderedMap<Object> bucket, Query q, DocSet result) throws IOException
IOException
public static DocSet getFieldMissing(SolrIndexSearcher searcher, DocSet docs, String fieldName) throws IOException
IOException
public static Query getFieldMissingQuery(SolrIndexSearcher searcher, String fieldName) throws IOException
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.