Skip to content

Instantly share code, notes, and snippets.

@mmattax
Last active August 29, 2015 14:02
Show Gist options
  • Save mmattax/e9294fe235d773c2aab7 to your computer and use it in GitHub Desktop.
Save mmattax/e9294fe235d773c2aab7 to your computer and use it in GitHub Desktop.
Elasticsearch HTML analyzer settings
settings = {
'settings': {
'analysis': {
'analyzer': {
'html': {
'type': 'custom',
'tokenizer': 'standard',
'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