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,
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.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
IOException
public boolean facetTermNum(int docID, int statsTermNum) throws IOException
IOException
public boolean accumulateTermNum(int statsTermNum, org.apache.lucene.util.BytesRef value) throws IOException
IOException
public void setNextReader(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
IOException
public void facetMissingNum(int docID) throws IOException
IOException
public void accumulateMissing() throws IOException
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.