Skip to content

Commit

Permalink
Merge pull request #5086 from BigFunger/visualize-analyzed-string-war…
Browse files Browse the repository at this point in the history
…ning

Visualizations - Hide analyzed warning when switching to non-analyzed fields
  • Loading branch information
BigFunger committed Oct 8, 2015
2 parents 142c158 + 25ff8ea commit c6639d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/agg_types/controls/field.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ng-click="showAnalyzedFieldWarning = !showAnalyzedFieldWarning">
<i class="fa fa-warning"></i> Analyzed Field
</span>
<div class="hintbox" ng-show="showAnalyzedFieldWarning">
<div class="hintbox" ng-show="showAnalyzedFieldWarning && agg.params.field.analyzed">
<p>
<strong>Careful!</strong> The field selected contains analyzed strings. Analyzed strings are highly unique and can use a lot of memory to visualize. Values such as <i>foo-bar</i> will be broken into <i>foo</i> and <i>bar</i>. See <a href="http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-core-types.html" target="_blank">Mapping Core Types</a> for more information on setting this field as <i>not_analyzed</i>
</p>
Expand Down

0 comments on commit c6639d8

Please sign in to comment.