Class FieldFacetStats
java.lang.Object
org.apache.solr.handler.component.FieldFacetStats
FieldFacetStats is a utility to accumulate statistics on a set of values in one field, for facet
values present in another field.
9/10/2009 - Moved out of StatsComponent to allow open access to UnInvertedField
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldFacetStats(SolrIndexSearcher searcher, SchemaField facet_sf, StatsField statsField) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaccumulateTermNum(int statsTermNum, org.apache.lucene.util.BytesRef value) voidfacet(int docID) voidfacetMissingNum(int docID) booleanfacetTermNum(int docID, int statsTermNum) voidsetNextReader(org.apache.lucene.index.LeafReaderContext ctx)
-
Field Details
-
name
-
facetStatsValues
-
-
Constructor Details
-
FieldFacetStats
-
-
Method Details
-
facet
- Throws:
IOException
-
facetTermNum
- Throws:
IOException
-
accumulateTermNum
public boolean accumulateTermNum(int statsTermNum, org.apache.lucene.util.BytesRef value) throws IOException - Throws:
IOException
-
setNextReader
- Throws:
IOException
-
facetMissingNum
- Throws:
IOException
-
accumulateMissing
- Throws:
IOException
-