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,
org.apache.lucene.search.Query q,
DocSet result) |
static DocSet |
getFieldMissing(SolrIndexSearcher searcher,
DocSet docs,
String fieldName) |
static org.apache.lucene.search.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,
org.apache.lucene.search.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
IOExceptionprotected void handleDomainChanges()
throws IOException
IOExceptionpublic Object getResponse()
protected void createAccs(int docCount,
int slotCount)
throws IOException
IOExceptionprotected void resetStats()
protected void processStats(SimpleOrderedMap<Object> bucket, DocSet docs, int docCount) throws IOException
IOExceptionprotected void processSubs(SimpleOrderedMap<Object> response, org.apache.lucene.search.Query filter, DocSet domain) throws IOException
IOExceptionpublic void fillBucket(SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query q, DocSet result) throws IOException
IOExceptionpublic static DocSet getFieldMissing(SolrIndexSearcher searcher, DocSet docs, String fieldName) throws IOException
IOExceptionpublic static org.apache.lucene.search.Query getFieldMissingQuery(SolrIndexSearcher searcher, String fieldName) throws IOException
IOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.