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,
String name,
SchemaField field_sf,
SchemaField facet_sf,
boolean calcDistinct) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulateMissing() |
boolean |
accumulateTermNum(int statsTermNum,
org.apache.lucene.util.BytesRef value) |
void |
facet(int docID) |
void |
facetMissingNum(int docID) |
boolean |
facetTermNum(int docID,
int statsTermNum) |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext ctx) |
public final String name
public final Map<String,StatsValues> facetStatsValues
public FieldFacetStats(SolrIndexSearcher searcher, String name, SchemaField field_sf, SchemaField facet_sf, boolean calcDistinct)
public void facet(int docID)
throws IOException
IOExceptionpublic boolean facetTermNum(int docID,
int statsTermNum)
throws IOException
IOExceptionpublic boolean accumulateTermNum(int statsTermNum,
org.apache.lucene.util.BytesRef value)
throws IOException
IOExceptionpublic void setNextReader(org.apache.lucene.index.AtomicReaderContext ctx)
throws IOException
IOExceptionpublic void facetMissingNum(int docID)
throws IOException
IOExceptionpublic void accumulateMissing()
throws IOException
IOExceptionCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.