from elasticsearch_dsl import analyzer

##TODO: add synonym token filter for query?
html_strip = analyzer('html_strip',
    tokenizer="standard",
    filter=["standard", "lowercase", "stop", "snowball"],
    char_filter=["html_strip"]
)
