i'm facing an index issue. In my Spring document, I have a map. This map can contains thousands of data because I save history.
private NavigableMap<String, Integer> installHistory = new TreeMap<>();
In elastic search all data in my map are index, and I got a limit exeed error.
How could I do to not index all data inside the Map ? I use spring 2.2 and spring elastic search 3.2.4
Thanks in advance.
Edit : I upgrade to spring data elastic 4.0.1 to use FielType.Flattened, but spring data elastic 4.0.1 supports min version of elasticsearch 7.6.X. My version is 7.4 and I can't change it because it is the latest version provided by aws.
I made the field transient, and created a String property for this Map. Before saving my object i convert the map into list and put it in the String variable.
