Created
November 22, 2018 02:14
-
-
Save jtibshirani/66bb9719a6398fe05d966bf2aba4c68a to your computer and use it in GitHub Desktop.
Typeless put mapping request fails when there is a pre-existing type.
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
PUT index | |
{ | |
"mappings": { | |
"some_type": { | |
"properties": { | |
"field": { "type": "keyword" } | |
} | |
} | |
} | |
} | |
PUT index/_mapping/_doc | |
{ | |
"properties": { | |
"field": { "type": "keyword" } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment