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 |
---|---|
boolean |
accumulateTermNum(int statsTermNum,
BytesRef value) |
void |
facet(int docID) |
boolean |
facetTermNum(int docID,
int statsTermNum) |
void |
setNextReader(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
IOException
public boolean facetTermNum(int docID, int statsTermNum) throws IOException
IOException
public boolean accumulateTermNum(int statsTermNum, BytesRef value) throws IOException
IOException
public void setNextReader(AtomicReaderContext ctx) throws IOException
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.