Skip to content

Instantly share code, notes, and snippets.

@dctrwatson
Created February 13, 2012 20:20
Show Gist options
  • Save dctrwatson/1819882 to your computer and use it in GitHub Desktop.
Save dctrwatson/1819882 to your computer and use it in GitHub Desktop.
multiple ElasticSearch analyzers
{
"settings": {
"analysis": {
"analyzer": {
"uax_url": {
"type": "custom",
"tokenizer": "uax_url_email",
"filter": ["standard", "lowercase", "stop"]
},
"uax_url_strip_html": {
"type": "custom",
"tokenizer": "uax_url_email",
"filter": ["standard", "lowercase", "stop"],
"char_filter": "html_strip"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment