Skip to content

Commit

Permalink
Support new half_float and scaled_float field types
Browse files Browse the repository at this point in the history
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 #7782
Related elastic/elasticsearch#18887
Related elastic/elasticsearch#19264
  • Loading branch information
Bargs committed Jul 22, 2016
1 parent 0724220 commit 298ee35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/public/index_patterns/_cast_mapping_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit 298ee35

Please sign in to comment.