-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: BSON
Feature?
Key order can only be preserved using an ES Map (array like keys are always in numeric order) this has led to issues with sort and index creation. We could utilize a flag to have BSON always use ES Maps when requested.
Follow up
Potentially we should subclass Map and add a getEmbedded(key) method that can use dot separated keys to fetch a value instead of m.get(k0)?.get(k1)?.get(k2)