|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.Facets org.apache.lucene.facet.taxonomy.TaxonomyFacets org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
public abstract class FloatTaxonomyFacets
Base class for all taxonomy-based facets that aggregate to a per-ords float[].
Field Summary | |
---|---|
protected float[] |
values
Per-ordinal value. |
Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets |
---|
children, config, indexFieldName, siblings, taxoReader |
Constructor Summary | |
---|---|
protected |
FloatTaxonomyFacets(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config)
Sole constructor. |
Method Summary | |
---|---|
Number |
getSpecificValue(String dim,
String... path)
Return the count or value for a specific path. |
FacetResult |
getTopChildren(int topN,
String dim,
String... path)
Returns the topN child labels under the specified path. |
protected void |
rollup()
Rolls up any single-valued hierarchical dimensions. |
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets |
---|
getAllDims, verifyDim |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final float[] values
Constructor Detail |
---|
protected FloatTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) throws IOException
IOException
Method Detail |
---|
protected void rollup() throws IOException
IOException
public Number getSpecificValue(String dim, String... path) throws IOException
Facets
getSpecificValue
in class Facets
IOException
public FacetResult getTopChildren(int topN, String dim, String... path) throws IOException
Facets
getTopChildren
in class Facets
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |