Mapping Conflict: You already have a field with the name {{ editor.field.name }}. Naming your scripted field with the same name means you won't be able to query both fields at the same time.
Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working.