Skip to content

Instantly share code, notes, and snippets.

@gonfva
Created April 30, 2014 12:52
Show Gist options
  • Select an option

  • Save gonfva/473494a11e4614a60159 to your computer and use it in GitHub Desktop.

Select an option

Save gonfva/473494a11e4614a60159 to your computer and use it in GitHub Desktop.
Command to change the default analyzer for an index
curl -XPUT http://localhost:9200/test -d'
{
"index" : {
"analysis" : {
"analyzer" : {
"default" : {
"char_filter" : [
"html_strip"
],
"tokenizer" : "standard"
}
}
}
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment