Closing as analyzer definition translation will be removed in future releases.
LuceneAnalyzerProvider/ElasticsearchAnalyzerProvider is the way to go.