String field formatter doesn't apply when highlight was found #103854
Labels
Feature:FieldFormatters
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
When configuring a string field formatter on a field and then search for a value for it, the highlighting of the fields value completely disables the field formatting for that field, e.g. in the following example I've used the decode base64 formatting (which of course doesn't make the most sense in this example):
If you now search for a value, that has results that are highlighted the formatting will completely be disabled for those fields:
I wonder if we can improve that, at least for the simple field formatter (like uppercase/lowercase) where the actual order and length of the transformed string doesn't change. It's of course harder (i.e. not really possible) to do it on the transforms that actually change the string completely (i.e. base64decode, urlparam and shorten). Though I wonder if for those cases we actually want the highlight to appear and the transform not to apply (the way it's now) or rather the opposite: the highlight simply not to appear but the transform still to apply. Not sure if we've ever discussed that really.
The text was updated successfully, but these errors were encountered: