mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Support new half_float and scaled_float field types
Elasticsearch added a couple of new numeric datatypes, which means we need to update our type casting list to include them. Kibana should see them as "numbers" so they work properly in searches and aggs. Fixes https://github.com/elastic/kibana/issues/7782 Related https://github.com/elastic/elasticsearch/pull/18887 Related https://github.com/elastic/elasticsearch/pull/19264
This commit is contained in:
parent
0724220241
commit
298ee35a4e
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ export default function CastMappingTypeFn() {
|
|||
{ name: 'date', type: 'date', group: 'base' },
|
||||
{ name: 'boolean', type: 'boolean', group: 'base' },
|
||||
{ name: 'float', type: 'number', group: 'number' },
|
||||
{ name: 'half_float', type: 'number', group: 'number' },
|
||||
{ name: 'scaled_float', type: 'number', group: 'number' },
|
||||
{ name: 'double', type: 'number', group: 'number' },
|
||||
{ name: 'integer', type: 'number', group: 'number' },
|
||||
{ name: 'long', type: 'number', group: 'number' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue