A single field value within a ProcessedHit, equivalent to a KSearchHitField. Carries the raw or joined value along with metadata about where a joined value was resolved from.
Properties
| Property | Returns | Description |
|---|---|---|
| destField | String | The name of the field on the joined index that this value was resolved from. Only meaningful when this field was populated via a join. |
| destFieldMeta | ESFieldMeta | The field metadata describing the joined index field this value was resolved from, if this field was populated via a join. |
| destIndexer | AppIndexer | The indexer for the related index this value was joined from, if this field was populated via a join. |
| numeric | boolean | Whether this value should be treated as numeric when displayed, as opposed to formatted text. |
| value | Object | The raw value for this field, or the value resolved from a joined index if this field was populated via a join. May be null. |
Methods
getValue()
Returns: Object
The raw value for this field, or the value resolved from a joined index if this field was populated via a join. May be null.
getDestIndexer()
Returns: AppIndexer
The indexer for the related index this value was joined from, if this field was populated via a join.
getDestField()
Returns: String
The name of the field on the joined index that this value was resolved from. Only meaningful when this field was populated via a join.
getDestFieldMeta()
Returns: ESFieldMeta
The field metadata describing the joined index field this value was resolved from, if this field was populated via a join.
isNumeric()
Returns: boolean
Whether this value should be treated as numeric when displayed, as opposed to formatted text.