public class FieldFacetStats extends Object
9/10/2009 - Moved out of StatsComponent to allow open access to UnInvertedField
StatsComponent| Modifier and Type | Field and Description |
|---|---|
Map<String,StatsValues> |
facetStatsValues |
String |
name |
| Constructor and Description |
|---|
FieldFacetStats(SolrIndexSearcher searcher,
SchemaField facet_sf,
StatsField statsField) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulateMissing() |
boolean |
accumulateTermNum(int statsTermNum,
BytesRef value) |
void |
facet(int docID) |
void |
facetMissingNum(int docID) |
boolean |
facetTermNum(int docID,
int statsTermNum) |
void |
setNextReader(LeafReaderContext ctx) |
public final String name
public final Map<String,StatsValues> facetStatsValues
public FieldFacetStats(SolrIndexSearcher searcher, SchemaField facet_sf, StatsField statsField)
public void facet(int docID)
throws IOException
IOExceptionpublic boolean facetTermNum(int docID,
int statsTermNum)
throws IOException
IOExceptionpublic boolean accumulateTermNum(int statsTermNum,
BytesRef value)
throws IOException
IOExceptionpublic void setNextReader(LeafReaderContext ctx) throws IOException
IOExceptionpublic void facetMissingNum(int docID)
throws IOException
IOExceptionpublic void accumulateMissing()
throws IOException
IOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.