mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
refactor: mapping generation for `Elasticsearch 8.4
This commit is contained in:
committed by
Rainer Killinger
parent
08ec4e4381
commit
61fee2bbf3
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user