Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"badger": {
"properties": {
"name": {"type": "string"},
"role": {"type": "string"},
"bio": {"type": "string"}
}
}
}
@molo76

This comment has been minimized.

Copy link

commented Feb 7, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.