Package org.apache.lucene.facet.taxonomy
Class FloatTaxonomyFacets
java.lang.Object
org.apache.lucene.facet.Facets
org.apache.lucene.facet.taxonomy.TaxonomyFacets
org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
- Direct Known Subclasses:
TaxonomyFacetSumFloatAssociations
,TaxonomyFacetSumValueSource
Deprecated.
Base class for all taxonomy-based facets that aggregate to a per-ords float[].
-
Field Summary
Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
config, indexFieldName, parents, taxoReader
-
Constructor Summary
ModifierConstructorDescriptionprotected
FloatTaxonomyFacets
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) Deprecated.Sole constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetSpecificValue
(String dim, String... path) Deprecated.Return the count or value for a specific path.getTopChildren
(int topN, String dim, String... path) Deprecated.Returns the topN child labels under the specified path.protected void
rollup()
Deprecated.Rolls up any single-valued hierarchical dimensions.Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllDims, getChildren, getSiblings, siblingsLoaded, verifyDim
-
Field Details
-
values
protected final float[] valuesDeprecated.Per-ordinal value.
-
-
Constructor Details
-
FloatTaxonomyFacets
protected FloatTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) throws IOException Deprecated.Sole constructor.- Throws:
IOException
-
-
Method Details
-
rollup
Deprecated.Rolls up any single-valued hierarchical dimensions.- Throws:
IOException
-
getSpecificValue
Deprecated.Description copied from class:Facets
Return the count or value for a specific path. Returns -1 if this path doesn't exist, else the count.- Specified by:
getSpecificValue
in classFacets
- Throws:
IOException
-
getTopChildren
Deprecated.Description copied from class:Facets
Returns the topN child labels under the specified path. Returns null if the specified path doesn't exist or if this dimension was never seen.- Specified by:
getTopChildren
in classFacets
- Throws:
IOException
-
Facets
implementations. If your code is relying on this, please migrate necessary functionality down into your own class.