Fix migrations to unblock Kibana devs who are working with ES7 (master)#28369
Conversation
|
@chrisdavies Instead of having a normalize function, should we just make the master branch work with the 7.0 API and leave the 6.x branch alone? I could see an argument that this will make 6.x harder to maintain/backport fixes to, but we also only have one more minor release left in the 6.x series. I tend to prefer moving the master branch forward to be completely typeless. Thoughts? |
💚 Build Succeeded |
|
@joshdover I'm down. The problem is that our |
|
OK. Following up. I did the reverse, normalizing on v7's mapping format rather than v6, and this broke things both in |
…7 (master) (elastic#28369)" This reverts commit 2b593f1.
Fix #28358
ES7 has changed their mappings structure (removing the root-level doc property). That caused migrations to error when Kibana restarts.
This is a quick fix to unblock people who are working on Kibana + ES master. It normalizes the mappings we get from ES6 and ES7.