diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.es_field_types.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.es_field_types.md index 30f9189ddb551..61929355decc2 100644 --- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.es_field_types.md +++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.es_field_types.md @@ -50,4 +50,5 @@ export declare enum ES_FIELD_TYPES | TEXT | "text" | | | TOKEN\_COUNT | "token_count" | | | UNSIGNED\_LONG | "unsigned_long" | | +| VERSION | "version" | | diff --git a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.es_field_types.md b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.es_field_types.md index 02199fcc24fe2..5061e3e97a346 100644 --- a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.es_field_types.md +++ b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.es_field_types.md @@ -50,4 +50,5 @@ export declare enum ES_FIELD_TYPES | TEXT | "text" | | | TOKEN\_COUNT | "token_count" | | | UNSIGNED\_LONG | "unsigned_long" | | +| VERSION | "version" | | diff --git a/src/plugins/data/common/kbn_field_types/kbn_field_types_factory.ts b/src/plugins/data/common/kbn_field_types/kbn_field_types_factory.ts index a48763a5ab788..2ded968c3cdf4 100644 --- a/src/plugins/data/common/kbn_field_types/kbn_field_types_factory.ts +++ b/src/plugins/data/common/kbn_field_types/kbn_field_types_factory.ts @@ -22,6 +22,7 @@ export const createKbnFieldTypes = (): KbnFieldType[] => [ ES_FIELD_TYPES.STRING, ES_FIELD_TYPES.TEXT, ES_FIELD_TYPES.KEYWORD, + ES_FIELD_TYPES.VERSION, ES_FIELD_TYPES._TYPE, ES_FIELD_TYPES._ID, ], diff --git a/src/plugins/data/common/kbn_field_types/types.ts b/src/plugins/data/common/kbn_field_types/types.ts index e6f815e058ce3..c14e7e4b03661 100644 --- a/src/plugins/data/common/kbn_field_types/types.ts +++ b/src/plugins/data/common/kbn_field_types/types.ts @@ -24,6 +24,7 @@ export enum ES_FIELD_TYPES { STRING = 'string', TEXT = 'text', KEYWORD = 'keyword', + VERSION = 'version', BOOLEAN = 'boolean', OBJECT = 'object', diff --git a/src/plugins/data/public/public.api.md b/src/plugins/data/public/public.api.md index 33113076c7247..781d073b34978 100644 --- a/src/plugins/data/public/public.api.md +++ b/src/plugins/data/public/public.api.md @@ -785,7 +785,9 @@ export enum ES_FIELD_TYPES { // (undocumented) _TYPE = "_type", // (undocumented) - UNSIGNED_LONG = "unsigned_long" + UNSIGNED_LONG = "unsigned_long", + // (undocumented) + VERSION = "version" } // Warning: (ae-missing-release-tag) "ES_SEARCH_STRATEGY" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) diff --git a/src/plugins/data/server/server.api.md b/src/plugins/data/server/server.api.md index 8616343c1154c..7303557449956 100644 --- a/src/plugins/data/server/server.api.md +++ b/src/plugins/data/server/server.api.md @@ -430,7 +430,9 @@ export enum ES_FIELD_TYPES { // (undocumented) _TYPE = "_type", // (undocumented) - UNSIGNED_LONG = "unsigned_long" + UNSIGNED_LONG = "unsigned_long", + // (undocumented) + VERSION = "version" } // Warning: (ae-missing-release-tag) "ES_SEARCH_STRATEGY" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)