Merge pull request #4595 from jimmyjones2/boolean
Fixes for boolean types
This commit is contained in:
commit
f70cb34872
|
@ -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 class="fa fa-adjust"></i>';
|
||||
case 'conflict':
|
||||
return '<i class="fa fa-warning"></i>';
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue