// This file is autogenerated, DO NOT EDIT
// analysis/analyzers/lang-analyzer.asciidoc:331

[source, python]
----
resp = client.indices.create(
    index="bulgarian_example",
    settings={
        "analysis": {
            "filter": {
                "bulgarian_stop": {
                    "type": "stop",
                    "stopwords": "_bulgarian_"
                },
                "bulgarian_keywords": {
                    "type": "keyword_marker",
                    "keywords": [
                        "пример"
                    ]
                },
                "bulgarian_stemmer": {
                    "type": "stemmer",
                    "language": "bulgarian"
                }
            },
            "analyzer": {
                "rebuilt_bulgarian": {
                    "tokenizer": "standard",
                    "filter": [
                        "lowercase",
                        "bulgarian_stop",
                        "bulgarian_keywords",
                        "bulgarian_stemmer"
                    ]
                }
            }
        }
    },
)
print(resp)
----
