Skip to content

Instantly share code, notes, and snippets.

@churnd
Last active December 28, 2015 16:48
Show Gist options
  • Save churnd/7530974 to your computer and use it in GitHub Desktop.
Save churnd/7530974 to your computer and use it in GitHub Desktop.
es no-index hosts
curl -XPUT localhost:9200/new_index -d '
{
"mappings": {
"host": { "type": "string", "index": "not_analyzed" }
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment