@terascope/types / data-types / DataTypeFieldConfig
Interface: DataTypeFieldConfig
Defined in: packages/types/src/data-types.ts:112
The configuration for an individual field
Indexable
[extra
: string
]: unknown
Properties
Property | Type | Description | Defined in |
---|---|---|---|
array? | boolean | Indicates whether the field is an array | packages/types/src/data-types.ts:121 |
description? | string | A description for the fields | packages/types/src/data-types.ts:126 |
format? | string | Specify the format for a specific fields. Currently this is only support with FieldType.Date | packages/types/src/data-types.ts:147 |
indexed? | boolean | Specifies whether the field is index in elasticsearch (Not supported by some field types... see indexedRequiredFieldTypes for types that cannot be false) Default true | packages/types/src/data-types.ts:135 |
is_primary_date? | boolean | The default date field used primarily for naming timeseries indices | packages/types/src/data-types.ts:159 |
locale? | string | Specify the locale for the field (not compatible with all fields) Must be represented in a Language Tags (BCP 47) | packages/types/src/data-types.ts:141 |
time_resolution? | TimeResolution | Indicates whether the data has second or millisecond resolutions used with the is_primary_date | packages/types/src/data-types.ts:165 |
type | DeprecatedFieldType | FieldType | The type of field | packages/types/src/data-types.ts:116 |
use_fields_hack? | boolean | A temporary flag to fix KeywordCaseInsensitive to be a type keyword with case insensitive .text fields | packages/types/src/data-types.ts:153 |