From 43f9665ab6e11ba7ad35ddebb9269f62eba99398 Mon Sep 17 00:00:00 2001 From: Tim Roes Date: Fri, 12 Aug 2016 22:33:34 +0200 Subject: [PATCH 1/3] Fix hint for analyzed fields --- src/ui/public/agg_types/controls/field.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/public/agg_types/controls/field.html b/src/ui/public/agg_types/controls/field.html index 8232015e6867f..1c13a03cc4252 100644 --- a/src/ui/public/agg_types/controls/field.html +++ b/src/ui/public/agg_types/controls/field.html @@ -9,11 +9,11 @@

- Careful! The field selected contains analyzed strings. 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. See Mapping Types for more information on setting this field as not_analyzed + Careful! The field selected contains analyzed strings. 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. See Mapping Types for more information for setting this field as keyword (not analyzed).

-

- Tip: {{agg.params.field.name + '.raw'}} may be a not_analyzed version of this field. +

+ Tip: {{agg.params.field.name + '.keyword'}} may be a non analyzed version of this field.

From 8c9a81cb492c5a120fbd5dfb696b2d04805f35c4 Mon Sep 17 00:00:00 2001 From: Tim Roes Date: Mon, 15 Aug 2016 17:54:18 +0200 Subject: [PATCH 2/3] Add .raw hint and change wording slightly --- src/ui/public/agg_types/controls/field.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/public/agg_types/controls/field.html b/src/ui/public/agg_types/controls/field.html index 1c13a03cc4252..def44b498376e 100644 --- a/src/ui/public/agg_types/controls/field.html +++ b/src/ui/public/agg_types/controls/field.html @@ -9,12 +9,16 @@

- Careful! The field selected contains analyzed strings. 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. See Mapping Types for more information for setting this field as keyword (not analyzed). + Careful! The field selected contains analyzed strings. 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. See Mapping Types for more information of setting this field as keyword (not analyzed).

Tip: {{agg.params.field.name + '.keyword'}} may be a non analyzed version of this field.

+ +

+ Tip: {{agg.params.field.name + '.raw'}} may be a non analyzed version of this field. +