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.Field.Store
Modifier and Type | Field and Description |
---|---|
BytesRef |
assoc
Associated value.
|
String |
dim
Dimension for this field.
|
String[] |
path
Facet path for this field.
|
static FieldType |
TYPE
Indexed
FieldType . |
fieldsData, name, tokenStream, type
Constructor and Description |
---|
AssociationFacetField(BytesRef assoc,
String dim,
String... path)
Creates this from
dim and path and an
association |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
binaryValue, fieldType, getCharSequenceValue, name, numericValue, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, stringValue, tokenStream, tokenStreamValue
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.