public class FloatAssociationFacetField extends AssociationFacetField
Document to add
a facet label associated with a float. Use TaxonomyFacetSumFloatAssociations to aggregate float values
per facet label at search time.assoc, dim, path, TYPE| Constructor and Description |
|---|
FloatAssociationFacetField(float assoc,
java.lang.String dim,
java.lang.String... path)
Creates this from
dim and path and a
float association |
| Modifier and Type | Method and Description |
|---|---|
static float |
bytesRefToFloat(BytesRef b)
Decodes a previously encoded
float. |
static BytesRef |
floatToBytesRef(float v)
Encodes a
float as a 4-byte BytesRef. |
java.lang.String |
toString() |
public FloatAssociationFacetField(float assoc,
java.lang.String dim,
java.lang.String... path)
dim and path and a
float associationpublic static BytesRef floatToBytesRef(float v)
float as a 4-byte BytesRef.public static float bytesRefToFloat(BytesRef b)
float.public java.lang.String toString()
toString in class AssociationFacetFieldData In Motion GmbH all rights reserved