Merge pull request #4595 from jimmyjones2/boolean

Fixes for boolean types
This commit is contained in:
Spencer 2015-08-06 23:08:14 -07:00
commit f70cb34872
2 changed files with 3 additions and 1 deletions

View file

@ -29,7 +29,7 @@ define(function (require) {
var warnings = [];
if (!field.scripted) {
if (!field.doc_values && !(field.analyzed && field.type === 'string')) {
if (!field.doc_values && field.type !== 'boolean' && !(field.analyzed && field.type === 'string')) {
warnings.push('Doc values are not enabled on this field. This may lead to excess heap consumption when visualizing.');
}

View file

@ -28,6 +28,8 @@ define(function (require) {
return '<i class="fa fa-laptop"></i>';
case 'geo_point':
return '<i class="fa fa-globe"></i>';
case 'boolean':
return '<i class="fa fa-adjust"></i>';
case 'conflict':
return '<i class="fa fa-warning"></i>';
default: