Add icon for boolean type and don't warn about doc_values
This commit is contained in:
parent
435cea4fc9
commit
259b03babf
|
@ -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.');
|
||||
}
|
||||
|
||||
|
|
|
@ -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><strong>b</strong></i>';
|
||||
case 'conflict':
|
||||
return '<i class="fa fa-warning"></i>';
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue