Last active
February 7, 2019 11:13
-
-
Save hackjoy/7358588 to your computer and use it in GitHub Desktop.
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
{ | |
"badger": { | |
"properties": { | |
"name": {"type": "string"}, | |
"role": {"type": "string"}, | |
"bio": {"type": "string"} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Elasticsearch has dropped the 'string' type and is now using 'text'. Change that in the json above and it'll work with latest version of Elasticsearch.
Discovered when running through https://blog.red-badger.com/2013/11/08/getting-started-with-elasticsearch