public class AssociationFacetField
extends Field
Document to add
a facet label associated with an arbitrary byte[].
This will require a custom Facets
implementation at search time; see IntAssociationFacetField and FloatAssociationFacetField to use existing Facets implementations.| Modifier and Type | Field and Description |
|---|---|
BytesRef |
assoc
Associated value.
|
java.lang.String |
dim
Dimension for this field.
|
java.lang.String[] |
path
Facet path for this field.
|
static FieldType |
TYPE
Indexed
FieldType. |
| Constructor and Description |
|---|
AssociationFacetField(BytesRef assoc,
java.lang.String dim,
java.lang.String... path)
Creates this from
dim and path and an
association |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public static final FieldType TYPE
FieldType.public final java.lang.String dim
public final java.lang.String[] path
public final BytesRef assoc
Data In Motion GmbH all rights reserved