-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of indexes without any properties mapped
It's possible to have an index (or mapping type pre ES7) without any properties mapped (yet). Previously, on ES7+ the exporter would assume this meant the server was actually pre ES7 and try and parse the mappings as mapping types, causing errors if there were any non-property settings in the mappings. On pre ES7, the exporter would assume every mapping type had properties, causing errors if any type didn't. Detection of pre ES7 mapping responses has been improved to avoid these errors, and indexes/mapping types without properties are skipped.
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters