Skip to content

Commit

Permalink
Merge pull request elastic#7853 from Bargs/consoleFloats
Browse files Browse the repository at this point in the history
Add new float support to console autocomplete

Former-commit-id: 5ba2c18
  • Loading branch information
Matt Bargar authored Jul 27, 2016
2 parents b8a0ae1 + b6c88a3 commit 8478852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core_plugins/console/api_server/es_5_0/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = function (api) {
'properties': {
'*': {
type: {
__one_of: ['text', 'keyword', 'float', 'double', 'byte', 'short', 'integer', 'long', 'date', 'boolean',
__one_of: ['text', 'keyword', 'float', 'half_float', 'scaled_float', 'double', 'byte', 'short', 'integer', 'long', 'date', 'boolean',
'binary', 'object', 'nested', "geo_point", "geo_shape"
]
},
Expand Down Expand Up @@ -111,6 +111,7 @@ module.exports = function (api) {
// numeric
precision_step: 4,
ignore_malformed: BOOLEAN,
scaling_factor: 100,

// geo_point
lat_lon: {
Expand Down

0 comments on commit 8478852

Please sign in to comment.