I have an index 'event' with a couple of million entries. Every 'event' has a nested 'type' property, consisting of id, name and color. Types existing just 10 in the system. Problem/unattractive: If I change one of the type properties I have to adjust a couple of million events in the worst case. Now I was wondering if there is some possibility to set the values on the fly.
Here is what I mean: I just store the type-id in the event and provide a dictionary with the values I want to query (id -> name, color) in the request.
Important: I need to keep features like aggregations and highlighting.