diff --git a/src/core_plugins/kibana/public/discover/components/field_chooser/discover_field.js b/src/core_plugins/kibana/public/discover/components/field_chooser/discover_field.js index 1b7997831882c..fe7b0fa77970f 100644 --- a/src/core_plugins/kibana/public/discover/components/field_chooser/discover_field.js +++ b/src/core_plugins/kibana/public/discover/components/field_chooser/discover_field.js @@ -34,23 +34,6 @@ app.directive('discoverField', function ($compile) { const getWarnings = function (field) { let warnings = []; - if (!field.scripted) { - 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.'); - } - - if (field.analyzed && field.type === 'string') { - warnings.push('This is an analyzed string field.' + - ' Analyzed strings are highly unique and can use a lot of memory to visualize.' + - ' Values such as foo-bar will be broken into foo and bar.'); - } - - if (!field.indexed && !field.searchable) { - warnings.push('This field is not indexed and might not be usable in visualizations.'); - } - } - - if (field.scripted) { warnings.push('Scripted fields can take a long time to execute.'); } diff --git a/src/core_plugins/kibana/public/discover/components/field_chooser/field_chooser.html b/src/core_plugins/kibana/public/discover/components/field_chooser/field_chooser.html index 56e0d7c174146..75664dfcf3896 100644 --- a/src/core_plugins/kibana/public/discover/components/field_chooser/field_chooser.html +++ b/src/core_plugins/kibana/public/discover/components/field_chooser/field_chooser.html @@ -62,21 +62,21 @@