refactor: mapping generation for `Elasticsearch 8.4

This commit is contained in:
Thea Schöbl
2023-04-27 09:33:09 +00:00
committed by Rainer Killinger
parent 08ec4e4381
commit 61fee2bbf3
52 changed files with 1859 additions and 972 deletions

View File

@@ -14,14 +14,14 @@
*/
import {ThingType} from './types';
import {MapAggTestOptions} from '../../MapAggTestOptions';
import {MapAggTestOptions} from '../../map-agg-test-options';
import {ElasticsearchDataType} from '../../../../src/config/typemap';
/**
* @indexable
*/
export interface InheritedProperty extends Bar{
foo: number,
export interface InheritedProperty extends Bar {
foo: number;
type: ThingType.InheritedProperty;
}
@@ -44,14 +44,14 @@ export const testConfig: MapAggTestOptions = {
map: {
maps: {
foo: {
type: ElasticsearchDataType.integer
type: ElasticsearchDataType.integer,
},
bar: {
type: ElasticsearchDataType.keyword
type: ElasticsearchDataType.keyword,
},
baz: {
type: ElasticsearchDataType.float
}
}
}
type: ElasticsearchDataType.float,
},
},
},
};